-
Bug
-
Resolution: Done
-
Critical
-
JWS 3.0.1 DR1
-
None
-
Release Notes
-
-
-
-
-
-
-
Documented as Resolved Issue
ASF Bug 57863 – Can't get the matched pattern in RewriteValve Fix the RewriteMap support in RewriteValve that did not use the correct key value to look up entries.
Key of RewriteMap does not work correctly.
ex) rewrite.config
RewriteCond %
^Mozilla.*
RewriteMap hoge com.hoge.HogeRewriteMap
RewriteRule /foo/(.*).html$ /bar/${hoge:$1}
$1 does not refer to (.*).
Key is always used a fixed string $1.
As a result, URL after rewriting is /bar/null.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57863
http://svn.apache.org/viewvc?view=revision&revision=1676619