Re: [whatwg/url] Change host parser for non-special schemes (#148)

I've seen some bad compatibility issues with changing behavior with such URLs.  I think we should change the spec after all.  

I propose that we keep the case of hosts of URLs with non-special schemes and not add a '/' when serializing them.  I also propose we continue to punycode-encode hosts of URLs with non-special schemes if they contain a non-ASCII character after being percent-decoded, and not add a '/' when serializing them.  Having the same host be percent-encoded with a non-special scheme and punycode-encoded with a special scheme is strange.

All browsers would still have to change, but the serialization of URLs like "asdf://HoSt" would be compatible with existing browsers, which agree for differing reasons.

-- 
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/148#issuecomment-253662252

Received on Thursday, 13 October 2016 22:56:07 UTC