cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1815530 ] doesn't parse $http_proxy properly

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 22 Oct 2007 02:26:08 -0700

Bugs item #1815530, was opened at 2007-10-18 06:03
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1815530&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
>Group: bad behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: rafcurl (rafcurl)
Assigned to: Daniel Stenberg (bagder)
Summary: doesn't parse $http_proxy properly

Initial Comment:
ubuntu feisty

curl 7.17.0 (i686-pc-linux-gnu) libcurl/7.17.0 OpenSSL/0.9.8c zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IPv6 Largefile NTLM SSL libz

$ http_proxy=http://proxy-syd-1.comdyn.com.au/
$ curl http://blah.org/
curl: (5) Couldn't resolve proxy 'proxy-syd-1.comdyn.com.au/'

the trailing / in $http_proxy which is perfectly
valid causes curl to fail to interpret the host.

this is rather ironic for a program that groks urls :)

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-10-22 11:26

Message:
Logged In: YES
user_id=1110
Originator: NO

curl groks urls pretty good I'd say, but a proxy server name is not really
a URL...

Problem fixed in CVS just now!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1815530&group_id=976
Received on 2007-10-22

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET