This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new c489a48cc8 Update comment now path parameter support has been added
c489a48cc8 is described below
commit c489a48cc81d9d70391ff2a7140d1ef664a21816
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 ab7658cbe6..4198023b32 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]