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

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Mark Thomas from comment #2)
> Please see RFC 6265 for allowed values of the domain attribute.

There is a path to requesting IPv6, here:

https://tools.ietf.org/html/rfc6265#section-4.1.1 ("Syntax"):

"
 domain-value      = <subdomain>
                       ; defined in [RFC1034], Section 3.5, as
                       ; enhanced by [RFC1123], Section 2.1
"

https://tools.ietf.org/html/rfc1123#section-2.1 ("Host Names and Numbers"):

"
      Whenever a user inputs the identity of an Internet host, it SHOULD
      be possible to enter either (1) a host domain name or (2) an IP
      address in dotted-decimal ("#.#.#.#") form.  The host SHOULD check
      the string syntactically for a dotted-decimal number before
      looking it up in the Domain Name System.

"

This section does specify "user" as the source of the hostname, but since the
user gets to choose the name they type into the browser, and therefore the
"name of the host" they are contacting, an IP address seems like it should be
legal.

Entering localhost or 127.0.0.1 as the hostname should work (and Tomcat seems
to handle this, because the IP address matches [a-zA-z0-9]+(\.[a-zA-z0-9]+)*.
So I think maybe IPv6 should be allowed as well, no?

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