Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2006 09:26:11 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@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:  <20060505082610.GN29751@submonkey.net>
In-Reply-To: <200605050447.k454l0cr080052@repoman.freebsd.org>
References:  <200605050447.k454l0cr080052@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--l06SQqiZYCi8rTKz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 05, 2006 at 04:47:00AM +0000, Colin Percival wrote:
> cperciva    2006-05-05 04:47:00 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     usr.sbin/portsnap/phttpget phttpget.c=20
>     usr.sbin/portsnap/portsnap portsnap.sh=20
>   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  =20
HTTP_PROXY=3Dwww-cache.private.submonkey.net:3128
http_proxy=3Dhttp://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
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--l06SQqiZYCi8rTKz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEWwwiocfcwTS3JF8RAlrOAKC3aBx9rP6POi3HFC8bKvU5B+Bc4wCgrjyo
Q0AR8ZOb75+hd6+yMP0uqjA=
=6LND
-----END PGP SIGNATURE-----

--l06SQqiZYCi8rTKz--



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