cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c src/usr.sbin/portsnap/portsnap portsnap.sh

Colin Percival cperciva at freebsd.org
Fri May 5 17:22:41 UTC 2006


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


More information about the cvs-src mailing list