Red Hat Bugzilla – Bug 97435
gaim doesn't appear to handle http_proxy var correctly
Last modified: 2007-04-18 12:54:50 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
With the following in my environment:
gaim attempts to connect to a proxy server at port 8080 but with no address. It
also writes garbage into the proxy section of its config file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set http_proxy variable in your environment to http://proxy:8080
2. remove proxy specification from .gaimrc
3. start gaim
Actual Results: Gaim starts up with error messages indicating that it can't
connect to the proxy. Bringing up the Options dialog, the proxy port is filled
in but the host field is empty. On quitting, there is garbage in the proxy
section in .gaimrc.
Expected Results: As far as I am aware, http://proxy:8080 is the correct format
for the http_proxy var. Possibly what gaim is expecting is the HTTP_PROXY
format, which is (again, as far as I'm aware) proxy:8080, i.e. the connection
protocol is not specified.
I do not know where or if there are standards for the http_proxy env var. The
above is something I looked up a long, long time ago and I can no longer recall
where it originated. Other proxy-using tools such as wget seem happy with the
format I'm using.
This appears to be fixed for me in Gaim 0.77. It looks like Red Hat 9
updates has a Gaim 0.75 RPM, I believe it is fixed in 0.75, as well.
And AFIK, there are no extremely official standards for proxy
environmental variables. It looks like Gaim will recognize the following:
Granted there are no official standards; however, there does seem to
be a fairly widely-accepted de facto standard. Anyway, the bug does
indeed appear to be fixed. Cheers!