curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: URL in bad format, but why ?

From: shiftag via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 10 Aug 2020 17:58:02 +0400

On 8/10/20 4:17 PM, Daniel Stenberg wrote:
> On Mon, 10 Aug 2020, shiftag via curl-library wrote:
>
>> I built libcurl statically and everything works fine. Except for the
>> following URL :
>>
>>     https://www.google.com/accessibility/?hl=en
>
> My guess would be that you have white space somewhere within the
> string, perhaps first or last. Maybe newline?
>
> It would be cool if curl could point out the exact column...
>

Thank you Daniel, you gave me a tip. So, I just dump in hex format the
URL and I got this :

68 74 74 70 73 3a 2f 2f     h t t p s : / /
77 77 77 2e 67 6f 6f 67     w w w . g o o g
6c 65 2e 63 6f 6d 2f 61     l e . c o m / a
63 63 65 73 73 69 62 69   c c e s s i b i
6c 69 74 79 2f 3f 68 6c      l i t y / ? h l
3d 65 6e 03                       = e n .

At the end "03" !!! So now I have to track this (I do URL manipulation).

Thanks.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-08-10