Firefox doesn't use the ignore list of the system-wide proxy config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Fix Released
|
Medium
|
|||
firefox-3.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Environment :
An internal network (say 192.168.0.*) with a proxy. (say 192.168.0.1). An internal web server that you can't access through the proxy, only with a direct connection (say 192.168.0.2).
1. In the Gnome panel, open System > Preferences > Proxy settings.
2. Configure the HTTP proxy as 192.168.0.1 (on my config, it's the same proxy for all protocols). In the "advanced configuration" tab, set 192.168.0.2 as an ignored host.
3. Open Epiphany browser : You can access the web through the proxy. You can also access 192.168.0.2 without problem.
4. Open Firefox and be sure that it's configured to use the system wide proxy. It can access the web (so proxy settings are working) but it cannot access 192.168.0.2. It tries to access it through the proxy.
5. Change Firefox settings to configure the proxy manually in Firefox. Add the proxy and add 192.168.0.2 as an exception. Check that now Firefox can access the web through the proxy and 192.168.0.2 without problem.
Obvious conclusion : When set to use System wide proxy, Firefox doesn't use the ignore list.
Excpected behaviour : When set to use System wide proxy, Firefox should behave like Epiphany and use the ignore list.
*** Original bug report ***
Firefox 3.0b4 has problem with system network proxy configuration - cannot recognize addresses from "Ignore Host list" in "Network Proxy" configuration - although I don't know if this is problem of Firefox or Ubutnu or both.
1. System -> Preferences -> Network Proxy -> Manual proxy configuration is set and in "Advanced Configuration" - 192.168.70.128 is added to "Ignore Host list"
2. in Firefox -> Edit -> Preferences -> Advanced -> Network -> Connection Settings -> "Use system proxy settings" is selected
When I type 192.168.70.128 in Location/Address bar and I hit enter, Firefox ask me about my proxy user and password. In my opinion it should take me to that address (192.168.70.128) without asking for proxy user and password, because it is in "Ignore Host list".
If I switch configuration in Firefox -> Edit -> Preferences -> Advanced -> Network -> "Connection Settings" to "Manual proxy configuration" and add proxy address to "HTTP Proxy" and add 192.168.70.128 to "No proxy for" list - everithing is ok - Firefox does not ask for proxy user and password and load the page from 192.168.70.128.
Version of Ubuntu is 8.04 - the Hardy Heron - released in April 2008
I have used ubuntu-
Changed in firefox: | |
status: | Unknown → Fix Released |
Changed in firefox: | |
importance: | Unknown → Medium |
tags: | added: bugs proxy |
tags: | removed: bugs |
affects: | firefox-3.0 (Ubuntu) → firefox (Ubuntu) |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5
I don't know if the problem comes from gnome or firefox. So I report here, tell
me if I am wrong.
First, in Firefox, Edit > Preferences > Settings > Advanced > Proxy settings...
I choose "use system settings".
In System > Preferences > Proxy, I choose the proxy, ok, it works. Firefox use
correctly the proxy system settings.
Except for one point : in advanced configuration in gnome proxy settings, I can
choose the hostlist to ignore, for example "localhost", which is a good point.
But those settings are totally ignored by firefox : if at work I go to
localhost, it tries to resolve "localhost" connecting to the proxy (and doesn't
resolve it).
If in firefox, instead of "use proxy system settings", I use "manual
configuration", and copy EXACTLY the same settings than those in gnome proxy
settings, especially in "no proxy for", I put "localhost", and it works.
So... there is a little bug somewhere... gnome? firefox? Don't know at all...
Reproducible: Always
Steps to Reproduce:
1. Use a proxy.
2. Configure proxy system settings in gnome, with "no proxy for : localhost".
3. Configure "use system settings" for proxy in firefox.
4. Launch a server (apache) on your system for example
5. Try to connect to localhost...
Actual Results:
It tries to connect to the proxy and resolve "localhost".
Expected Results:
To directly connect to localhost (it is defined in /etc/hosts)
http:// bugzilla. gnome.org/ show_bug. cgi?id= 528605