curl / Mailing Lists / curl-users / 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.

URL query syntax

From: Bachir Bendrissou via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 2 Oct 2023 11:02:15 +0100

Hi,

Are there any query strings that are invalid and should be rejected by the
Curl parser?

Curl seems to accept all sorts of strings in the query segment. For example:



*"https://example.com/?a=ba=a <https://example.com/?a=ba=a>"*
The URL is accepted with no errors reported, despite missing a delimiter.

Is this correct?

Thank you,
Bachir


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-10-02