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 query syntax
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 2 Oct 2023 12:27:56 +0200 (CEST)
On Mon, 2 Oct 2023, Bachir Bendrissou via curl-users wrote:
> Are there any query strings that are invalid and should be rejected by the
> Curl parser?
Not really, no. The query part is just a sequence of characters.
> *"https://example.com/?a=ba=a
> The URL is accepted with no errors reported, despite missing a delimiter.
There is no such standard that says a query part must be a set of name =
content pairs. While it is often used so, that is just by convention.
Date: Mon, 2 Oct 2023 12:27:56 +0200 (CEST)
On Mon, 2 Oct 2023, Bachir Bendrissou via curl-users wrote:
> Are there any query strings that are invalid and should be rejected by the
> Curl parser?
Not really, no. The query part is just a sequence of characters.
> *"https://example.com/?a=ba=a
> The URL is accepted with no errors reported, despite missing a delimiter.
There is no such standard that says a query part must be a set of name =
content pairs. While it is often used so, that is just by convention.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-10-02