It turns out that this bug is a manifestation of a bug in libsoup-
gnome2.4-1:

    Bug: #433827 Regression: "Automatic proxy configuration" + gnome-
terminal now breaks apt-get, curl, wget...

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+", autoconfig_url, NULL);
                else
                        http_proxy = g_strdup ("wpad://");
                g_free (autoconfig_url);

So, in Gnome network proxy settings, if we set the automatic proxy URL
to http://wpad.example.org/wpad.dat, we get
http_proxy=pac+http://wpad.example.org/wpad.dat .

Otherwise, if we set the automatic proxy URL to e.g.
file:///etc/proxy.pac, we get http_proxy=wpad:// .

This bug has been reported to the upstream author:
https://bugzilla.gnome.org/show_bug.cgi?id=603285 , though I think a bit
of convincing is necessary, as setting the http_proxy= to these
pac+http:// or wpad:// stuff is just *wrong* IMHO, especially because it
breaks 90% of the existing programs out there.

** Changed in: libsoup2.4 (Ubuntu)
       Status: New => Confirmed

-- 
package ttf-mscorefonts-installer 3.0 failed to install/upgrade: Error parsing 
proxy URL wpad://: Unsupported scheme «wpad»
https://bugs.launchpad.net/bugs/504075
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to