On Sun, Jul 13, 2008 at 11:09:44PM +0200, Stephen Kitt wrote:
> debgtd fails to retrieve the bug list for an email address when an HTTP
> proxy is specified using http_proxy:
> On this system http_proxy is simply http://localhost:3128/
>
> Unsetting http_proxy allows debgtd to proceed as expected.

If you remove the trailing slash from your http_proxy variable, it will
work.

http_proxy is a "defacto" standard and as such there's no clear
consensus on whether the trailing slash should be permitted or not. Some
software accepts it, other doesn't.  I don't think the '/' is "valid"
since in URI / RFC3986 terms, the proxy is a scheme and an authority but
not a path.

It would not be too much work for debgtd to ignore the trailing slash if
present. Before I do this, I'm going to do a bit of research into the
origins of the environment variable and see what software chokes on the
trailing slash and what doesn't.


-- 
Jon Dowland



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to