-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in parsing URLs #50
Comments
Thanks; this is waiting on a spec resolution at whatwg/url#53 (comment). |
Wondering if there's an update on this issue... |
Seems like with the release of Unicode 9 this has been changed and these labels are now allowed. Will update soon-ish. If you can't wait, the validation is in the tr46 package. |
That was super-easy! Thanks a lot :) |
Any updates here? It's not clear to me how the line referenced in |
This should be fixed in #100. |
Yup. Should be fixed with 6.2.0+. |
While playing with some jquery/ajax stuff in node.js, I think I’ve hit a bug in the whatwg-url module used by jsdom. It’s unable to parse certain valid URLs such as: "https://r3---sn-p5qlsnz6.googlevideo.com/" and throws "TypeError: Invalid URL". I think the problem is with the “r3---sn” part of the hostname.
jsdom version: 8.1.0
whatwg-url version: 1.0.1
Following node.js code reproduces the issue:
Output:
The text was updated successfully, but these errors were encountered: