curl-users
Re: BUG: url does not get escaped
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Feb 2006 23:16:21 +0100 (CET)
Date: Tue, 28 Feb 2006 23:16:21 +0100 (CET)
On Tue, 28 Feb 2006, Alexander Zilberman wrote:
> Either way you look at it, it should check the URI at least because i am
> sure that it is not allowed in the RFC.
It depends on your viewpoint.
I've chosen the way to be liberal in what it accepts, so that *you* (the user)
can decide what you want to pass on to the server. If you pass in a bad URL,
curl does its best with it. If you want it to send a "standards-compliant"
request then you need to pass it a legal URL.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-02-28