[whatwg/url] Allow encoding of null values. (Issue #732)

https://github.com/whatwg/url/blob/fdaa0e5a3790693a82f578d7373f216d8fef9ac8/url.bs#L2933-L2934

Some systems want to encode null values.

e.g.

```
parse("x=10&y") => {x => "10", y => nil}
```

differently from empty strings, e.g.

```
parse("x=10&y=") => {x => "10", y => ""}
```

I wonder if we can amend this rule to allow optional special interpretation of keys without `=` separators to indicate that the value is `null`.

See https://github.com/ruby-grape/grape/issues/2298 and https://github.com/rack/rack/issues/1696 for more details/discussion over the past 2 years.

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

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

Received on Wednesday, 4 January 2023 04:21:58 UTC