Open
Bug 303035
Opened 20 years ago
Updated 3 years ago
keyword search should use more context
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
NEW
People
(Reporter: dveditz, Unassigned)
Details
Typos such as "http;//targetsite.com" appear to be quite common. Since this is
not a valid site we try a keyword search, but this is turned into "keyword:http"
which is not terribly useful. If this were instead keyword:http+targetsite.com
or some other variation that got more of the user's intent the result would be
far more useful.
The relevant code starts at
http://lxr.mozilla.org/mozilla/source/docshell/base/nsWebShell.cpp#706
The problem is that typos don't leave anything that our standard/simple URI
helpers can deal with sensibly. Perhaps if there is no scheme we should try to
parse the input in some other way.
Comment 1•20 years ago
|
||
There's one other very common case out of the noise in bug 231720 -
http://http://example.com where we do have a scheme, but the host is "http".
Would it be a reasonable bandaid just to special-case host == "http(s?)" and
bail on keyword fixup?
Updated•16 years ago
|
QA Contact: adamlock → docshell
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•