Re: [whatwg/url] can't parse urls starting with xn-- (#438)

Thank you for reporting this. Unfortunately, I suspect you're correct and this is not something we have adequately tested for thus far.

Interesting cases (Live URL Viewer links for comparison purposes):

* [https://xn--.com/](https://jsdom.github.io/whatwg-url/#url=aHR0cHM6Ly94bi0tLmNvbS8=&base=YWJvdXQ6Ymxhbms=) (jsdom has interesting behavior here)
* [https://xn--a.com/](https://jsdom.github.io/whatwg-url/#url=aHR0cHM6Ly94bi0tYS5jb20v&base=YWJvdXQ6Ymxhbms=)
* [https://xn--ß.com/](https://jsdom.github.io/whatwg-url/#url=aHR0cHM6Ly94bi0tw58uY29tLw==&base=YWJvdXQ6Ymxhbms=) (this does seem to fail everywhere)

@macchiati I suspect this might require further adjustments to TR46 in due course, once we figure out the full details. Part of the problem here is that browsers have been slow on aligning with requirements in general and making the necessary adjustments.

-- 
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/438#issuecomment-488652357

Received on Thursday, 2 May 2019 12:25:43 UTC