Re: [whatwg/url] Setters can cause failure to roundtrip (#651)

I think I prefer 2 over 5. With 2, users have more options: if they want to keep the space and the delimiter, then they can explicitly opt into it by setting `.hash = '#'`. With 5, there's no way to remove the `#` through setters alone.

6 seems a little surprising – we never only percent-encode one character. Chrome is also already running into some trouble trying to percent-encode more characters in non-special URLs (https://crbug.com/1252739), so ideally I'd like to keep the path the way it is.

-- 
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/651#issuecomment-928520222

Received on Tuesday, 28 September 2021 00:41:31 UTC