This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
url.parse problem with underscore in hostname #1360
Comments
Won't fix, sorry. Underscores are not allowed in hostnames. |
Hm, it seems like browsers actually allow this, and DNS lookups and everything work as expected. Also, it's a really tiny fix. Reopening. |
@bnoordhuis Care to review? isaacs/node@dcecfc5 |
@isaacs Good patch, wrong problem. |
@bnoordhuis Sure, but it's the problem we can actually solve. I don't know how to get the internet to stop supporting URL conventions that aren't allowed by the spec ;) |
For example, this site loads up fine with curl, Chrome, Safari, and node's HTTP client: http://foo_bar_blatz.izs.me/ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
on 0.4.6 (expected output):
on 0.4.9, 0.5.0, 0.5.1:
The text was updated successfully, but these errors were encountered: