Opened 15 years ago

Closed 10 years ago

#4413 closed enhancement (fixed)

Hostnames containing underscores do not resolve to an IP

Reported by: philcostin Owned by: nobody
Priority: normal Milestone: R1
Component: Network & Internet/IPv4 Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Now this isn't really a bug... because hostnames are not supposed to contain underscores; according to RFC 822. However, the following site works under Linux but not under Haiku - gs_server.gerbilsoft.ddns.info/cgi-bin/gitweb.cgi?p=gens.git - maybe it could be seen as an enhancement to accept the underscore character, or maybe it would create havoc. Any thoughts? If this is a silly idea, please close the ticket, otherwise my current solution is to continue to edit the hosts file...

Change History (3)

comment:1 by zooey, 12 years ago

Owner: changed from zooey to nobody
Status: newassigned

comment:2 by Karvjorm, 12 years ago

If I recall it correct, underscore is an invalid character in URL according to HTML5 standard, but is surely used with the older non-HTML5 sites during many years in future. Could this be implemented so that it is marked invalid, if HTML5 or above is used?

comment:3 by pulkomandy, 10 years ago

Resolution: fixed
Status: assignedclosed

Implemented in hrev47549.

Note: See TracTickets for help on using tickets.