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

            Bug ID: 62383
           Summary: HttpParser.DomainParserState fails valid hostname
                    gateway.demo-ilt-latest-demo:9000
           Product: Tomcat 8
           Version: 8.5.31
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: social...@outlook.com
  Target Milestone: ----

We recently upgraded to Tomcat 8.5.31 and found that it's rejecting the
hostname gateway.demo-ilt-latest-demo:9000 with the following message:

The character [:] is not valid after a letter in a domain name.

I traced the code on GitHub to
https://github.com/apache/tomcat/blob/trunk/java/org/apache/tomcat/util/http/parser/HttpParser.java#L875

Looking at the history of this file, it appears that there have been quite a
few problems with the hostname verification. I'd like to know why the above
hostname is considered invalid. FWIW, name
gateway.demo-ilt-latest-demo.svc.cluster.local works.

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

Reply via email to