curl-library
Fwd: Bug#311112: curl: Escape <space> in HTTP requests
Date: Sat, 28 May 2005 20:08:35 +0200
hi Daniel,
here is another bug.
cheers
domenico
----- Forwarded message from Andreas Metzler <ametzler_at_downhill.at.eu.org> -----
Date: Sat, 28 May 2005 19:10:40 +0200
From: Andreas Metzler <ametzler_at_downhill.at.eu.org>
Subject: Bug#311112: curl: Escape <space> in HTTP requests
For example mp3 files often contain space characters in their
filename, however curl will not deal with that:
curl --trace-ascii - 'http://downhill.aus.cc/testingcurl/with space'
[...]
0000: GET /testingcurl/with space HTTP/1.1
[...]
Curl sends a literal "with space" in the GET command instead of
"with%20space".
Of course *I* could do the escaping and invoke
curl 'http://downhill.aus.cc/testingcurl/with%20space'
however in that case I'll end up with a file named "with%20space"
locally if I use -O and will need to do manual de-escaping with mmv,
too.
----- End forwarded message -----
-----[ Domenico Andreoli, aka cavok
--[ http://people.debian.org/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Received on 2005-05-28