Menu

#699 doesn't parse $http_proxy properly

closed-fixed
http (206)
5
2013-06-21
2007-10-18
rafcurl
No

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 :)

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2007-10-22
    • milestone: --> bad_behaviour
    • status: open --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2007-10-22

    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!