-
Notifications
You must be signed in to change notification settings - Fork 475
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
Hostname detection fails for URLs starting with https:/// #365
Comments
URL, Firefox, Chrome and curl agree, they rewrite The question is for which schemes/protocols this should apply, an obvious exception is Do you want to give this a try? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
url._parts looks like this:
When setting
URI.preventInvalidHostname = true;
is thrown. This was initially reported for simplecrawler/simplecrawler#415. Chrome handles the URL without issues. Do you think URI.js should be more liberal and fix the URL before parsing it?
The text was updated successfully, but these errors were encountered: