From owner-cvs-all@FreeBSD.ORG Fri May 5 17:22:47 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A06EE16A40A for ; Fri, 5 May 2006 17:22:47 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from hexahedron.daemonology.net (s64-180-110-239.bc.hsia.telus.net [64.180.110.239]) by mx1.FreeBSD.org (Postfix) with SMTP id EFEC043D77 for ; Fri, 5 May 2006 17:22:39 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: (qmail 14000 invoked from network); 5 May 2006 17:22:36 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 5 May 2006 17:22:36 -0000 Message-ID: <445B89DB.6010205@freebsd.org> Date: Fri, 05 May 2006 10:22:35 -0700 From: Colin Percival User-Agent: Thunderbird 1.5 (X11/20060416) MIME-Version: 1.0 To: Ceri Davies , Colin Percival , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200605050447.k454l0cr080052@repoman.freebsd.org> <20060505082610.GN29751@submonkey.net> In-Reply-To: <20060505082610.GN29751@submonkey.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c src/usr.sbin/portsnap/portsnap portsnap.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 17:22:47 -0000 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