cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-700275 ] File name with space corrupted in PUT

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 09 Mar 2003 01:09:41 -0800

Bugs item #700275, was opened at 2003-03-09 09:09
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=700275&group_id=976

Category: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Tonino (ttonino)
Assigned to: Daniel Stenberg (bagder)
Summary: File name with space corrupted in PUT

Initial Comment:
A file PUT to a Apache 2.0.43 DAV server does not get
the correct name if the name contains spaces.

Demonstration:
bash-2.05b$ touch "testBLAH 123.txt"
bash-2.05b$ curl -n
http://webtest-upload.home.nl/thomas/members/ -T
"testBLAH 123.txt"
password:
[snip html]
Resource /thomas/members/testBLAH has been created.

A directory listing shows that the file name is indeed
not correct. Maybe special chars are not escaped
correctly on PUT?

Software used:
curl 7.10.3 (i686-pc-linux-gnu) libcurl/7.10.3
OpenSSL/0.9.6i zlib/1.1.4
Linux draak.a2000.nl 2.4.19-16mdk #1 Fri Sep 20
18:15:05 CEST 2002 i686 unknown unknown GNU/Linux
Apache 2 server, DAV enabled. No proxy in between.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=700275&group_id=976

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-03-09