bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #45443] http_proxy variable should also work for capital


From: Tim Ruehsen
Subject: [Bug-wget] [bug #45443] http_proxy variable should also work for capitalized HTTP_PROXY
Date: Fri, 14 Aug 2015 08:58:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

Update of bug #45443 (project wget):

                  Status:                    None => Wont Fix               
             Assigned to:                    None => rockdaboot             

    _______________________________________________________

Follow-up Comment #1:

I cite Daniel Stenberg (curl maintainer/developer) from the mailing list
address@hidden, Tue, 30 Jun 2015 11:20:28 +0200 (CEST):

"The reason some tools don't accept "HTTP_PROXY" and only "http_proxy" is that
the CGI interface from back in the old days provide headers from the incoming
request to the CGI program prefixed with "HTTP_".

Thus, running a CGI script from a server, an incoming "Proxy:" header (which
normally doesn't do anything) would be sent to the program as "HTTP_PROXY",
leading to confusions or in the worst case some sort of attack.

The CGI interface is an ancient thing, probably boardering to extinction.
Still it is out there and some such CGIs probably use wget.

Incidently, curl also only accepts the lower case version of this environment
variable and I believe it goes for some other related tools as well."


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45443>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]