You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Hostname cannot be empty, if protocol is https
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:
URL, Firefox, Chrome and curl agree, they rewrite https:/// to https://. URL, Chrome and Firefox even rewrite https:////, but curl reports curl: (3) Bad URL.
The question is for which schemes/protocols this should apply, an obvious exception is file://.
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: