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/05/13 17:09:50 UTC

[Bug 64432] New: RewriteValve does not work with multiple rules

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

            Bug ID: 64432
           Summary: RewriteValve does not work with multiple rules
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jj@scaldingspoon.com
  Target Milestone: -----

Created attachment 37241
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37241&action=edit
patch with simple tests and potential fix

When a multiline configuration file is used for RewriteValve is used, only the
first rule is ever run/applied. Attached is a patch for a couple simple test
cases, and a potential fix.

This problem is exhibited in master and the 8.5.x branch.

I'm not sure of the fuller impact of the fix since this reverts recent changes
in the code.

-- 
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 64432] RewriteValve does not work with multiple rules

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

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 OS|                            |All
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed. Thanks for the report and the test cases.

Fixed in:
- master for 10.0.0-M6 onwards
- 9.0.x for 9.0.36 onwards
- 8.5.x for 8.5.56 onwards

-- 
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 64432] RewriteValve does not work with multiple rules

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

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache-bugzilla=spam@ruedig
                   |                            |er-kuhlmann.de

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
*** Bug 64461 has been marked as a duplicate of this bug. ***

-- 
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 64432] RewriteValve does not work with multiple rules

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |melvindoss@gmail.com

--- Comment #3 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 64495 has been marked as a duplicate of this bug. ***

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