Re: [whatwg/url] URLSearchParams inconsistent behavior with multiple same-name parameters leads to data loss on backend (Issue #889)

annevk left a comment (whatwg/url#889)

Ultimately this is a flaw in the backend for not supporting ` application/x-www-form-urlencoded` properly. If you work with such a backend it's probably better to stick with the map version of the API and not attempt to use the multi-map variant. (Or indeed follow the multi-map requirements of the backend, such as PHP requiring the `[]` suffix.) See also #851.

Is the functionality you suggest something that popular libraries offer? Or is this frequently asked on Stack Overflow? Or both?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/889#issuecomment-3461606555
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/889/3461606555@github.com>

Received on Wednesday, 29 October 2025 13:45:24 UTC