Re: [whatwg/url] the urlencoded spec did not described tuples of which the name includes square brackets (#556)

> 
> 
> This is a feature of some server-side tooling, notably PHP. I would be okay with documenting the convention, but somebody would have to research whether it is actually interoperable among the tooling that implements it.

I know what you mean and test some codes in browser.
The `URLSearchParams` implemented in firefox just serialized `usp.appent('key', [1, 2])` to `"key=1%2C2"`

Here is another question, now that we have `URLSearchParams` to encode and decode query params. Why would Web API provide another `encode/decodeURIComponent` which can not process `+` and `SPACE`

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

Received on Tuesday, 20 October 2020 07:04:27 UTC