Re: [whatwg/url] `URLSearchParams.set()` accepts an array as value in Firefox & Chrome but this is nowhere documented (Issue #833)

They do not accept arrays. JavaScript just converts `["foo", "bar", "baz"]` to the string `foo,bar,baz` which percent-encodes to `foo%2Cbar%2Cbaz`.

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

Message ID: <whatwg/url/issues/833/2306702688@github.com>

Received on Friday, 23 August 2024 09:38:51 UTC