libproxy systematically reports the http proxy for all protocols

Bug #739262 reported by Francois Gouget
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libproxy (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce:
 * In either KDE or Gnome, pick the manual proxy configuration option.
 * Set the proxy configuration to use localhost for http and either no proxy for ftp or another host.
 * Do not check the 'use the same proxy for all protocols' checkbox.
 * Apply the changes.
 * Then using the proxy tool from libproxy-tools you will get results similar to those below:

$ proxy http://www.ubuntu.com
http://localhost:8080
 -> This confirms the configuration has been taken into account.

$ proxy ftp://ftp.ubuntu.com/
http://localhost:8080
 -> This is wrong since we did not configure the ftp protocol to use this proxy.
      This should have been either direct:// or the other host we configured to handle the ftp protocol.

As a further check you can test these URLs with Konqueror and Firefox. You should see that they don't use the http proxy for the ftp protocol. Also note that Firefox ignores KDE's proxy settings.

This inconsistency with the way the browser behave would be very confusing to users.

Revision history for this message
Francois Gouget (fgouget) wrote :

The above was tested on Ubuntu 10.10 64-bit with the latest 0.3.1-2ubuntu5 libproxy packages.

Revision history for this message
NeilGreenwood (neil-greenwood) wrote :

I'm seeing the correct behaviour on raring, Ubuntu 13.04 64-bit:

$ proxy http://www.ubuntu.com
http://localhost:8080
$ proxy ftp://ftp.ubuntu.com
direct://

$ gsettings list-recursively org.gnome.system.proxy
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8']
org.gnome.system.proxy mode 'manual'
org.gnome.system.proxy use-same-proxy false
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.http host 'localhost'
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0

$ apt-cache policy libproxy1
libproxy1:
  Installed: 0.4.11-0ubuntu1
  Candidate: 0.4.11-0ubuntu1
  Version table:
 *** 0.4.11-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.