Hello,

On Mon, 27 Dec 2010 21:29:15 +0100 (CET)
Daniel Stenberg <dan...@haxx.se> wrote:

> > '+' MUST be supported. I need to decode it using curl. I'm unable
> > to do this currently.
> Ah, now I think understand what you're saying. You say you want 
> curl_easy_unescape() to convert '+' into space. Right?

Yes, possibly CR/LF translation should be done, too, I haven't checked
if curl does it yet. Also, I'd like curl_easy_escape to convert space
to '+' because sometimes that's important too (e.g. protocols like
OAuth rely on both sides to perform conversion the same way).

> I'm afraid we can't do that easily without breaking older apps. We
> should clarify the docs to make this described better.

That's why I suggest you to make a CURLOPT_RFC1738 option (enabled by
default) disabling which will switch it to W3C's behaviour.

-- 
WBR, Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to