cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_escape() broken in 7.17.0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Oct 2007 00:41:51 +0200 (CEST)

On Sun, 30 Sep 2007, Alex Fishman wrote:

> unsigned char a[] = {0x9c, 0x26, 0x4b, 0x3d, 0x49, 0x4, 0xa1, 0x1,
> 0xe0, 0xd8, 0x7c, 0x20, 0xb7, 0xef, 0x53, 0x29, 0xfa, 0x
> 1d, 0x57, 0xe1};

Thanks!

It turned out that we introduced a regression in 7.17.0 as a "fix" of a
variable type turned out to break the handling of input bytes that are >= 128.

I committed a fix just now, together with a test case that verifies that the
function now works correctly.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-10-01