$http_proxy being set incorrectly by Network Proxy

Bug #48294 reported by Mary Gardiner
32
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Low
gnome-terminal (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

If I have these settings in System -> Network Proxy, $http_proxy is being set incorrectly:

[NOT SELECTED] Direct internet connection

[NOT SELECTED] Manual proxy configuration
HTTP proxy: sunhill, port: 3128

[SELECTED] Automatic proxy configuration
Autoconfiguration URL: http://www.it.usyd.edu.au/proxy.pac

Even though "Manual proxy configuration" is not selected and the text is greyed out as per the screenshot I will attach, the following happens when I open new terminals with those settings in place:
$ echo $http_proxy
http://sunhill:3128/

I know that $http_proxy can't be set from the autoconfiguration URL, but the GUI's use of radio buttons and greying out suggests that it should *not* fall back to the manual configuration to set $http_proxy, yet it does. (In my case this behaviour is not only counterintuitive but also an actual bug in and of itself -- that manual setting is left over from a previous network.)

Revision history for this message
Mary Gardiner (puzzlement) wrote : Screenshot of settings

Screenshot to confirm settings

Revision history for this message
Andrew Bennetts (spiv) wrote :

I've never used the "Manual proxy configuration", but I have set "Automatic proxy configuration". This is what my $http_proxy is set to:

$ echo $http_proxy
http://:8080/

Which is clearly wrong.

Changed in control-center:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in control-center:
assignee: nobody → desktop-bugs
Revision history for this message
Bruno de Oliveira Abinader (brunoabinader) wrote :

I confirm that bug too. This and the fact that when using manual configuration on Network Manager, the FTP proxy isn't passed to gnome-terminal. E.g.: If you have different proxies for http and ftp, ftp_proxy environment variable isn't configured.

Revision history for this message
Mary Gardiner (puzzlement) wrote : Re: [Bug 48294] Re: $http_proxy being set incorrectly by Network Proxy

On Mon, Jun 19, 2006, Bruno de Oliveira Abinader wrote:
> This and the fact that when using manual configuration on Network
> Manager, the FTP proxy isn't passed to gnome- terminal.

This sounds like it should be filed as a separate bug.

Revision history for this message
John S (jcspray) wrote :

I've posted a potential fix to the upstream bug.
http://bugzilla.gnome.org/attachment.cgi?id=101950&action=view

Changed in gnome-terminal:
status: Confirmed → Triaged
Revision history for this message
Hans Deragon (deragon) wrote :

Is this a dup of Bug #95939?

Changed in gnome-terminal:
status: New → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

fixed upstream now, thanks for reporting.

Changed in gnome-terminal:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is available in ubuntu now

Changed in gnome-terminal:
status: Fix Committed → Fix Released
Revision history for this message
starslights (starslights) wrote :

hello,

I run on kubuntu karmic alpha5, the kpackagekit don't respect setup proxy environment who in this case are as default with direct connection. kpackagekit use proxy anyway and are no possibility to make it as direct connection.

Sometime it say "unknow update" , well it's seem very important to can choose our own environment like synaptic can or maybe come from the bug i have reported about the non-respect of environment proxy in network-manager.

2.6.31-10-generic karmic x86 64

kpackagekit 0.4.2ubuntu2 /amd64)

If i choose a local DNS server like 127.0.0.1, it can resolve name to update , this problem are not on synapic

Revision history for this message
starslights (starslights) wrote :

This bug are not fixed on karmic kubuntu

All environment variable are rejected and can't find is own

Changed in gnome-terminal:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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