curl-users
[ curl-Bugs-776162 ] GET data in dns lookup
Date: Wed, 23 Jul 2003 03:24:08 -0700
Bugs item #776162, was opened at 2003-07-23 12:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=776162&group_id=976
Category: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: A. Steinmetz (anstein)
Assigned to: Daniel Stenberg (bagder)
Summary: GET data in dns lookup
Initial Comment:
curl doesn't handle GET data when the server part of
the requested
URL isn't terminated by a slash:
Example:
curl 'http://somesite.example.com?parm1=a&parm2=a'
results in:
curl: (6) Couldn't resolve host
'somesite.example.com?parm1=a&parm2=a'
whereas:
curl 'http://somesite.example.com/?parm1=a&parm2=a'
properly results in:
curl: (6) Couldn't resolve host 'somesite.example.com'
This is especially a problem with 302 redirects when
the location header
doesn't contain the slash after the server part of the URL.
Version:
curl 7.10.3 (i686-pc-linux-gnu) libcurl/7.10.3
OpenSSL/0.9.7a zlib/1.1.4
According to the changelogs on curl.haxx.se this bug is
not fixed
in newer versions of curl.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=776162&group_id=976
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
Received on 2003-07-23