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

--- Comment #15 from Stefan Fussenegger <s...@molindo.at> ---
(In reply to Richard Swart from comment #14)
> Note that proxies like Apache with mod_proxy will create a comma separate
> list of the X-Forwarded-Host if the incoming request already contains a
> X-Forwarded-Host header (similar to X-Forwarded-For). Rfc7239 is not
> completely clear whether this is allowed or not, but it still common
> practice. 
> 
> The patch does not seem to support this (at least no unit test covers this
> situation).

This case is actually covered with this line:

String hostAndPort[] = hostHeaderValue.split(",")[0].trim().split(":", 2);

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