Re: [whatwg/url] http://40000000000 considered as being a wrong URL (#436)

Note the DISCUSSION section within Section 2.1 of RFC-1123. The relaxation
of the LDH rule was still intended to be unambiguously parsable as
different from an IP address (particularly in dotted quad form), by virtue
of the fact that all TLDs at the time contained at least one letter, and
subsequent policy by IANA with respect to the functions provided by ICANN
has further codified that all-numeric TLDs will not be introduced.

That other applications accept such is largely due to a lack of
discrimination in processing the authority portion, based on the type of
address supplied - thus causing functions like inet_aton (which, in the BSD
sockets implementation, first introduced handling for such syntactically
invalid IP addresses) to handle this silently and gracefully, despite being
syntactically ambiguous and thus arguably invalid.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/436#issuecomment-480182247

Received on Friday, 5 April 2019 07:52:11 UTC