Re: [whatwg/url] query state: Parser generates invalid URLs (#379)

Looking at the results, I think that:
* `[`, `]` and `|` should become URL code points
* `^` may become URL code point, but then all browsers should stop escaping it
* ``` ` ``` should be removed from fragment percent-encode set
* query should treat `?` as valid
* fragment should treat `?` and `#` as valid

The only confusing ones are:
* `\` - no idea what to do here, I don't really understand the backslash-magic in the spec
* `{` and `}` - they probably shouldn't be added to URL code points, but they also shouldn't get escaped in queries and fragments (because JSON). I guess they can get added to the list of valid chars in queries and fragments, but this is _inelegant_.

-- 
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/379#issuecomment-380404205

Received on Wednesday, 11 April 2018 10:26:25 UTC