|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1204435 ] Extra slash appended to data in http://somehost?data (7.14)
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 18 May 2005 23:49:38 -0700
Bugs item #1204435, was opened at 2005-05-18 19:09
Category: http
Initial Comment:
curl 7.14.0 (i686-pc-linux-gnu) libcurl/7.14.0 OpenSSL/0.9.7a zlib/1.2.1.1
does a
GET /?data
(That looks about right ...)
but
curl http://somehost?data
does a:
GET /?data/
(i.e. if the "/" is missing, curl puts it in, twice,
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
Ouch, I see it. I'll work on a better fix.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Message:
Unfortunately the patch removes the slash when it should be added.
curl http://host
now sends:
GET HTTP/1.1
instead of
GET / HTTP/1.1
(nothing to GET in the first)
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Thanks! The following little patch seems to fix it for me.
--- url.c 14 May 2005 06:00:40 -0000 1.461
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info