Comment 6 for bug 433827

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Nathaniel thanks again for your input, and sorry for bothering you with this.

I located the component that inserts that "pac+": it's libsoup-gnome2.4-1.

1) I ran `apt-get source libsoup-gnome2.4-1`

2) I modified "pac+" to "pac+debug" in libsoup/soup-proxy-resolver-gnome.c:
 } else if (proxy_mode == SOUP_PROXY_RESOLVER_GNOME_MODE_AUTO) {
  char *autoconfig_url;

  autoconfig_url = gconf_client_get_string (
   gconf_client, SOUP_GCONF_PROXY_AUTOCONFIG_URL, NULL);
  if (autoconfig_url && !strncmp (autoconfig_url, "http", 4))
   http_proxy = g_strconcat ("pac+debug-", autoconfig_url, NULL);

3) I compiled and installed this modified libsoup, and rebooted my PC.

4) echo $http_proxy now showed: pac+debug-http://server

So this is where the "pac+" that we see originates.

Again, I don't know if libsoup is correct in adding that "pac+" there or not. I'm just proposing that we notify the libsoup developers about this bug, so that we have their opinion on the subject.