Red Hat Bugzilla – Bug 212319
Broken http_proxy env if using "automatic proxy configuration"
Last modified: 2007-11-30 17:11:46 EST
If, using gnome-network-preferences, you configure the proxy use use "automatic
proxy configuration", then you end up with something like:
/system/http_proxy/use_http_proxy = true
/system/http_proxy/host = ""
/system/proxy/autoconfig_url = file:///home/markmc/.proxy.pac
and gnome-session sets http_proxy to "http://:8080"
This would fix it:
if (host == NULL || host == '\0')
Look at this, though:
There may be a bit more too it ... there may be a bit more to interpreting the
another interesting bit, is there is now code out there that will break down an
At some point we may want to think about using that to make http_proxy work in
those situations (or maybe not worth the effort)
I'm going to go ahead a close this. We can figured out the autoconfiguration