You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/05/18 06:05:47 UTC

[Bug 62383] HttpParser.DomainParserState fails valid hostname gateway.demo-ilt-latest-demo:9000

https://bz.apache.org/bugzilla/show_bug.cgi?id=62383

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #1 from Mark Thomas <ma...@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