This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 6d2f174445 Update comment now path parameter support has been added
6d2f174445 is described below
commit 6d2f174445388587d73cc4c95b1119de6441556b
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 8e898a0ae7..c5b13f2158 100644
--- a/java/org/apache/catalina/valves/rewrite/RewriteValve.java
+++ b/java/org/apache/catalina/valves/rewrite/RewriteValve.java
@@ -332,8 +332,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]