Closed
Bug 718596
Opened 14 years ago
Closed 13 years ago
Search problem with proxy in address bar when only one word typed
Categories
(Firefox :: Address Bar, defect)
Tracking
()
People
(Reporter: amanforindia, Unassigned)
Details
Attachments
(1 file)
|
147.81 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111223083621
Steps to reproduce:
Typed one word in the address bar and hit enter.
Actual results:
Took me to my proxy server's Access Denied page. It is not the proxy's issue since when firefox sees just one word it tries to do a look-up first. Thus, the proxy server is asked for http://word/ which obviously can't exist and it replies correctly.
Expected results:
It should have tried to re-direct me to the google search page for that word
Comment 1•14 years ago
|
||
I think how searches are done should be smartened up anyhow. One word, for example, with no period in it, probably isn't a valid hostname (but it could be, with /etc/hosts or similar). On Linux (and probably other UNIX), that could be done with a "getent hosts $HOSTNAME" (and the equivalent resolver functions in libc; dunno if mozilla has a wrapper for those). If there is a host for it, go there, else do a search. Similar thing should be done for longer phrases with periods in them, for example "String.fromCharCode". fromCharCode is definitely not a valid TLD. Trying to resolve the host would lead to that being searched for and not trying to connect to it.
Just my 2c.
Updated•14 years ago
|
QA Contact: untriaged → location.bar
Comment 2•13 years ago
|
||
hostnames without like http://word/ are often used in cooperate networks and LAN.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•