cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to avoid "_" getting encoded in querystring when using curl-7.15.1

From: Paul Howarth <paul_at_city-fan.org>
Date: Wed, 26 Nov 2014 11:46:12 +0000

On 26/11/14 10:01, Daniel Stenberg wrote:
> On Wed, 26 Nov 2014, Ivneet Kaur wrote:
>
>> Thanks for letting me join you guys here.
>
> Welcome!
>
>> *curl_escape* is encoding "_" in querystring to "%5F" which is what I
>> want
>> to avoid.
>>
>> I think* curl_easy_escape* will help me.
>
> Upgrading to libcurl >= 7.21.2 will help you, as that is the first
> release that treats underscore differently.
>
>> Is there a patch that I can apply directly to 7.15.1 in order to be
>> able to
>> use curl_easy_escape? If yes, please point me to it.
>
> If you can allow a patch, why not just simply update to a later libcurl
> version instead? You're stuck with a very very old libcurl version!

So old in fact that it's a different soname, which probably explains the
reluctance to upgrade.

Paul.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-26