This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new b756a2b168 Skip processing when not required
b756a2b168 is described below
commit b756a2b1683a78af316404970c56e7e68a29f321
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Oct 27 14:17:47 2026 +0000
Skip processing when not required
---
java/org/apache/catalina/valves/rewrite/RewriteValve.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/valves/rewrite/RewriteValve.java
b/java/org/apache/catalina/valves/rewrite/RewriteValve.java
index 48d74c6a9c..2d6138e9c8 100644
--- a/java/org/apache/catalina/valves/rewrite/RewriteValve.java
+++ b/java/org/apache/catalina/valves/rewrite/RewriteValve.java
@@ -657,7 +657,7 @@ public class RewriteValve extends ValveBase {
request.setAsyncSupported(pipeline.isAsyncSupported());
pipeline.getFirst().invoke(request, response);
}
- } else {
+ } else if (!done) {
Valve next = getNext();
if (valveSkip) {
next = next.getNext();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]