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 2010/11/26 09:06:29 UTC
DO NOT REPLY [Bug 50342] Exception on the Host request-header field
included colon(':')
https://issues.apache.org/bugzilla/show_bug.cgi?id=50342
Chuck Caldarale <ch...@unisys.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
OS/Version| |All
--- Comment #1 from Chuck Caldarale <ch...@unisys.com> 2010-11-26 03:06:24 EST ---
(In reply to comment #0)
> If A tomcat receive a request contained the Host request-header field included
> colon, java.io.CharConversionException is thrown.
Not true. The exception is thrown because the request contains an invalid port
number after the colon.
> Host: tomcat.apache.org:www.apache.org
The above is invalid.
> It looks like the HTTP 1.1 specification allows to do such call
It certainly does not.
> Host = "Host" ":" host [ ":" port ] ; Section 3.2.2
The first colon separates the header name from the header value; the second
colon, when present, separates the host name from the port number.
> Because http specification 1.1 support multiple host name
It does not.
- Chuck
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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