Closed Bug 269519 Opened 20 years ago Closed 19 years ago

FF doesn't transform search string when using proxy and keyword.URL setting

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 2875

People

(Reporter: daneel, Assigned: bugzilla)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0
Build Identifier: et-tu-mozilla@mailinator.com

This is in my user.js:
user_pref("keyword.URL","http://www.google.com/search?btnG=Google+Search&q=");
and this transforms every string (without dots) typed in nav. toolbar in valid
google search query (URL). Works great. But when I use http proxy FF doesn't
transform string into URL...string is sent to proxy without transformation and I
get: http://string/ host not found.

When string has more then one word (eg. "foo bar") transformation is done and
it's OK.
This bug does not affect keyword search. Probably because I need to type more
then one word.

I use linux, but I think that this affects FF for every platform.

Reproducible: Always
Steps to Reproduce:
1. Get a proxy, configure it, configure FF to use it.
2. Add
user_pref("keyword.URL","http://www.google.com/search?btnG=Google+Search&q=");
in user.js.
3. Search for a string form nav. toolbar.
Actual Results:  
FF couldn't resolve hostname

Expected Results:  
FF should transform string in valid URL.
*** Bug 269577 has been marked as a duplicate of this bug. ***
I can confirm this bug, as described above.
*** Bug 280854 has been marked as a duplicate of this bug. ***
(In reply to comment #3)
> *** Bug 280854 has been marked as a duplicate of this bug. ***

Not exactly a duplicate(effect is exactly opposite), but surely they are closely
related :)
This can't work because the keyword URL is only called if Mozilla can't find 
the hostname. With a proxy you get a error page back from the proxy and there 
is no way for Mozilla zo know that the hostname failed.

marking as dupe of bug 2875


*** This bug has been marked as a duplicate of 2875 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
*** Bug 301600 has been marked as a duplicate of this bug. ***
Installing the Omnibar addon for Firefox
appears to be a temporary fix to this problem.

https://addons.mozilla.org/en-US/firefox/addon/omnibar/

With this addon a single word is treated as a search
term. Wonder how this addon does it and whether it can be 
backported to Firefox.
You need to log in before you can comment on or make changes to this bug.