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 2020/04/17 12:42:46 UTC

[Bug 64362] New: rewrite valve with http/2 not working

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: dev@tomcat.apache.org
          Reporter: honza801+apache@gmail.com
  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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64362] rewrite valve with http/2 not working

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64362

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
This was fixed in 9.0.32.

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