https://bz.apache.org/bugzilla/show_bug.cgi?id=64362
Bug ID: 64362
Summary: rewrite valve with http/2 not working
Product: Tomcat 9
Version: 9.0.16
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
hi,
it seems, that rewrite valve does not work correctly with http/2 enabled.
having this rule:
RewriteRule ^/$ https://%{HTTP_HOST}/uni/ [L,R]
requests end with this:
$ curl -i --http2 https://some.web/
HTTP/2 302
location: https://null/uni/
date: Fri, 17 Apr 2020 12:38:14 GMT
$ curl -i --http1.1 https://some.web/
HTTP/1.1 302
Location: https://some.web/uni/
Transfer-Encoding: chunked
Date: Fri, 17 Apr 2020 12:38:17 GMT
HTTP_HOST has null value, but should be some.web.
please fix it
thanks
jan
--
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]