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.
Question about special characters in URL query parameters
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Junior Gantin via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 22 Sep 2021 15:15:26 +0100
Hello all,
Is it possible to pass special characters (or french accent characters) in
URL query parameters without having a `curl: (52) Empty reply from server`
error?
Example:
curl -L "https://example.com?name=RenéFrançois" this will return empty reply
curl -L "https://example.com?name=ReneFrancois
<https://example.com/?name=Ren%C3%A9Fran%C3%A7ois>" this will hit the server
Thanks.
Date: Wed, 22 Sep 2021 15:15:26 +0100
Hello all,
Is it possible to pass special characters (or french accent characters) in
URL query parameters without having a `curl: (52) Empty reply from server`
error?
Example:
curl -L "https://example.com?name=RenéFrançois" this will return empty reply
curl -L "https://example.com?name=ReneFrancois
<https://example.com/?name=Ren%C3%A9Fran%C3%A7ois>" this will hit the server
Thanks.
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-09-22