cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-593983 ] Bad handling of spaces in URL's

From: <noreply_at_sourceforge.net>
Date: Mon, 12 Aug 2002 03:11:23 -0700

Bugs item #593983, was opened at 2002-08-12 03:11
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=593983&group_id=976

Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Bad handling of spaces in URL's

Initial Comment:
Spaces in URL's are not handled the correct way. If you do:

curl "http://localhost/ HTTP/1.0 test blaha"

the program will contact localhost, and send:

GET / HTTP/1.0 test blaha HTTP/1.1

among other things. Shouldn't the spaces in the URL be
converted to plus characters, to avoid confusion
between the path part and the protocol part?

I'm using curl 7.9.5.

// Ulf Härnhammar
ulf_at_nic.st

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

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

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-08-12