tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62383] HttpParser.DomainParserState fails valid hostname gateway.demo-ilt-latest-demo:9000
Date Fri, 18 May 2018 06:05:47 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62383

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Mark Thomas <markt@apache.org> ---
The short answer is because of this text from RFC 1123:
<quote>
However, a valid host name can never have the dotted-decimal form #.#.#.#,
since at least the highest-level component label will be alphabetic.
</quote>

However, there is some interesting discussion of this in the errata. For a full
discussion of how this relates to Tomcat, see the duplicate. The summary of
that discussion is that '-' should be allowed in the final segment and the
parsing has been updated to permit this.

*** This bug has been marked as a duplicate of bug 62371 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message