https://bz.apache.org/bugzilla/show_bug.cgi?id=64225
Bug ID: 64225
Summary: Parse the given input as an HTTP Host header value
Product: Tomcat 9
Version: unspecified
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Util
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
https://tools.ietf.org/html/rfc3986#page-18
'host:*' is http compliant, but the request will report an exception:
o.apache.coyote.http11.Http11Processor : The host [*] is not valid
Note: further occurrences of request parsing errors will be logged at DEBUG
level.
java.lang.IllegalArgumentException: null
at org.apache.tomcat.util.http.parser.Host.parse(Host.java:78)
at org.apache.tomcat.util.http.parser.Host.parse(Host.java:45)
at
org.apache.coyote.AbstractProcessor.parseHost(AbstractProcessor.java:282)
at
org.apache.coyote.http11.Http11Processor.prepareRequest(Http11Processor.java:809)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
The relevant source code is :
https://github.com/apache/tomcat/blob/master/java/org/apache/tomcat/util/http/parser/Host.java
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]