Re: [whatwg/url] Allow encoding of null values in `application/x-www-form-urlencoded`. (Issue #732)

> No, x.value = null is the same as x.value = "null" for browsers.

Is this why some systems get confused when someone actually has a name "null"? i.e. no. way to differentiate between `"null"` and `null`. My guess is there is code that writes `if params[name] == "null" return null`. Maybe a motivation towards fixing this issue. Do HTML forms ever do this?

Some funny examples:

![image](https://user-images.githubusercontent.com/30030/210901388-3c3fa329-0978-4ee1-af2a-6e460a50f79c.png)

![image](https://user-images.githubusercontent.com/30030/210901546-876c59e8-3bbf-4605-98f6-d3788146b173.png)


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

Message ID: <whatwg/url/issues/732/1372939720@github.com>

Received on Thursday, 5 January 2023 23:49:49 UTC