cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl_unescape behaviour/documentation inconsistance

From: Renaud Duhaut <rd_at_duhaut.com>
Date: Fri, 28 May 2004 17:06:41 +0200

Hi,
The man page of the curl_unescape function say :
----------
All input characters that are URL encoded (%XX where XX is a two-digit
hexadecimal number, or +)
       will be converted to their plain text versions (up to a ? letter,
no + letters to the right of a ? letter will be
       converted).
-----------

But the function code actually don't touch any "+" character, before or
after the "?" character.It only look up for "%XX" encodings.

Whatever is correct, the doc or the code should be made consistant.

Anyway, thanks for your cool and powerful library !

-- 
Renaud Duhaut <rd_at_duhaut.com>

Received on 2004-05-28