This is an automated email from the ASF dual-hosted git repository.
markt 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 204bfb6250 Update comment now path parameter support has been added
204bfb6250 is described below
commit 204bfb62509d9f6d217fdd82860408b4f7dae9f2
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Apr 4 10:49:14 2025 +0100
Update comment now path parameter support has been added
---
java/org/apache/catalina/valves/rewrite/RewriteValve.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/java/org/apache/catalina/valves/rewrite/RewriteValve.java
b/java/org/apache/catalina/valves/rewrite/RewriteValve.java
index 0b538d3820..43ae26ea68 100644
--- a/java/org/apache/catalina/valves/rewrite/RewriteValve.java
+++ b/java/org/apache/catalina/valves/rewrite/RewriteValve.java
@@ -331,8 +331,6 @@ public class RewriteValve extends ValveBase {
* without the two becoming confused. The re-write rules also need
to be able to insert literal '%'
* characters without them being confused with %nn encoding.
*
- * The re-write rules cannot insert path parameters.
- *
* To meet these requirement, the URL is processed as follows.
*
* Step 1. The URL is partially re-encoded by encodeForRewrite().
This method encodes any literal '%', ';'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]