This is an automated email from the ASF dual-hosted git repository. remm 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 7dded32278 Document additional RewriteMap types 7dded32278 is described below commit 7dded32278678882c8fc686b2750a3a8b911d0b7 Author: remm <r...@apache.org> AuthorDate: Fri Feb 24 15:03:49 2023 +0100 Document additional RewriteMap types Since I looked at it a few days ago and after reading the docs. Overall: probably good enough as it is now. --- java/org/apache/catalina/valves/rewrite/RewriteValve.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/java/org/apache/catalina/valves/rewrite/RewriteValve.java b/java/org/apache/catalina/valves/rewrite/RewriteValve.java index a1540f02ba..8bbfdddb82 100644 --- a/java/org/apache/catalina/valves/rewrite/RewriteValve.java +++ b/java/org/apache/catalina/valves/rewrite/RewriteValve.java @@ -620,7 +620,16 @@ public class RewriteValve extends ValveBase { } else if (rewriteMapClassName.startsWith("rnd:")) { map = new RandomizedTextRewriteMap(rewriteMapClassName.substring("rnd:".length()), true); } else if (rewriteMapClassName.startsWith("prg:")) { + // FIXME: https://httpd.apache.org/docs/2.4/rewrite/rewritemap.html#prg + // Likely not worth implementing further since this is a simpler CGI + // piping stdin/stdout from an external native process + // Instead assume a class and use the RewriteMap interface rewriteMapClassName = rewriteMapClassName.substring("prg:".length()); + } else if (rewriteMapClassName.startsWith("dbm:")) { + // FIXME: https://httpd.apache.org/docs/2.4/rewrite/rewritemap.html#dbm + // Probably too specific to HTTP Server to implement + } else if (rewriteMapClassName.startsWith("dbd:") || rewriteMapClassName.startsWith("fastdbd:")) { + // FIXME: https://httpd.apache.org/docs/2.4/rewrite/rewritemap.html#dbd } if (map == null) { try { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org