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

--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> ---
Hyphens (-) are allowed to be allowed in hostnames, but not in TLDs[1]

I wonder if this is too restrictive for Tomcat, and whether or not it would
apply (unfairly) to punycode hostnames. My sense is that these hostname
restrictions should apply AFTER any punycode transformation takes place, but
this parser appears to (a) perform no punycode transformation and therefore (b)
would fail to handle any non-US-ASCII domain names.

[1] https://tools.ietf.org/html/draft-liman-tld-names-06#section-1

-- 
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