Re: [whatwg/url] Allow protocol setter to switch between special and non-special schemes (Issue #674)

It's definitely intentional as changes to the scheme would end up changing other components as well, which is rather unexpected.

Having said that, https://url.spec.whatwg.org/#potentially-strip-trailing-spaces-from-an-opaque-path does so as well so there is precedent now, but that's a very limited impact. Changing the scheme however would end up changing the host, which is central to the authority of a URL. I'd rather not do that personally if we can get away with it.

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

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

Received on Monday, 4 September 2023 06:57:58 UTC