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