-
Notifications
You must be signed in to change notification settings - Fork 71
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
non-breaking space causes parse-domain to fail #61
Comments
new lines also throw this error
|
In the case of line breaks in the url, the normalizedUrl is not falsy, so this referenced PR is not sufficient to prevent the error. It would probably be more prudent to sanitize the string in the normalize.js file. I'm now pre-sanitizing the urls i want to parse before handing them to the parse-domain function |
We delegate all the URL parsing logic to the WHATWG |
normalize.js uses |
Fixed with |
related to #32
The text was updated successfully, but these errors were encountered: