Firefox 3 proxy auto config (PAC) reload button does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
XULRunner |
Fix Released
|
Medium
|
|||
xulrunner-1.9 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: xulrunner-1.9
The reload button in the network panel of Firefox 3 beta 5 has no effect.
This can be checked either by tcpdumping the request of Firefox, when clicking on the button, or by hosting locally a PAC file and watching the logs.
I have tracked it down this regression to the checkin upstream that introduced the influence of http_proxy environment variable on our systems on the proxy configuration of Firefox / XULrunner.
A new (intended) behaviour of nsProtocolProxy
However nsProtocolProxy
Here is the patch I have submitted upstream :
https:/
The corresponding upstream bug is bugzilla 422172.
Changed in xulrunner: | |
status: | Unknown → Confirmed |
Changed in xulrunner: | |
status: | Confirmed → Fix Released |
Changed in xulrunner: | |
importance: | Unknown → Medium |
Also doesn't work on
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4) Gecko/2008030318 Firefox/3.0b4
The same configuration file worked on FF2. Restarting FF3b4 loads file correctly.
Config file:
function FindProxyForURL (url, host) {
var internal_proxy = 'DIRECT';
var no_proxy = 'DIRECT';
var external_proxy = 'PROXY xx.xx.xx.xx:8888';
var exclude_proxy = 'PROXY 127.0.0.1:80';
if (shExpMatch(host, "*.draugiem.lv")) {
return external_proxy;
} else if (shExpMatch(url, "*draugiem.lv*")) {
return external_proxy;
} else if (shExpMatch(url, "*inbox.lv*")) {
return external_proxy;
/* repeats for lot of hosts */
} else if (host=="neo") { url,"http* ://*:*/ *")) {
return no_proxy;
} else if (shExpMatch(
return no_proxy;
} else if (shExpMatch(url,"https:/ /*")) {
return internal_proxy;
} else {
return no_proxy;
}
}