GNOME Bugzilla – Bug 589251
libsoup_proxy_resolver_gnome does not set up HTTP authentication
Last modified: 2009-07-21 14:29:19 UTC
Please describe the problem: As far as I can see, nothing in libsoup_proxy_resolver_gnome sets up proxy authentication. It simply assembles a http_proxy environment variable, which libproxy then parses. I've added a patch to add back support for proxy authentication, using the username and password stored in GConf by GNOME. Steps to reproduce: Attempt to use an authenticated proxy to get the weather via the gnome weather applet. Proxy must require auth. Actual results: The attempt to retrieve the weather is rejected as no authentication headers were set. Expected results: Data to be retrieved through the proxy. Does this happen every time? Yes. Other information:
Created attachment 138909 [details] [review] Add Proxy-Authorization header user credentials from GConf A bit hanky, but it does work. Proxy auth detais are only set if we are actually going to make the request through a proxy to try and avoid leaking details out to random HTTP servers. Not quite sure what the correct implementation would be, any feedback would be great.
this was already fixed as of libsoup 2.26.3 *** This bug has been marked as a duplicate of 580051 ***