On Fri, May 05, 2006 at 04:47:00AM +0000, Colin Percival wrote:
> cperciva    2006-05-05 04:47:00 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/portsnap/phttpget phttpget.c 
>     usr.sbin/portsnap/portsnap portsnap.sh 
>   Log:
>   Allow the HTTP_PROXY environment variable to be (mis)spelled as
>   "http_proxy", since some people apparently do this and fetch(3)
>   allows it.

lynx uses it too.  Also, the format can be slightly different:

% set |grep -ai http   
HTTP_PROXY=www-cache.private.submonkey.net:3128
http_proxy=http://www-cache.private.submonkey.net:3128/

I don't think that the readenv function in phttpget.c deals with that
trailing slash at the moment.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

Attachment: pgp9F2LUzipBQ.pgp
Description: PGP signature

Reply via email to