Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2006 10:22:35 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Ceri Davies <ceri@submonkey.net>, Colin Percival <cperciva@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c src/usr.sbin/portsnap/portsnap portsnap.sh
Message-ID:  <445B89DB.6010205@freebsd.org>
In-Reply-To: <20060505082610.GN29751@submonkey.net>
References:  <200605050447.k454l0cr080052@repoman.freebsd.org> <20060505082610.GN29751@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ceri Davies wrote:
> On Fri, May 05, 2006 at 04:47:00AM +0000, Colin Percival wrote:
>>   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.

It does, and has ever since revision 1.2 of phttpget.c, in August 2005.

Colin Percival



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445B89DB.6010205>