From: Vincent Bray $N in the substitution string!
so backreferences will be unescaped at the time they are applied.
Using the B flag, non-alphanumeric characters in backreferences
will be escaped. For example, consider the rule:
RewriteRule RewriteRule ^(.*)$ index.php?show=$1
+ RewriteRule ^(.*)$ index.php?show=$1
This will map /C++ to index.php?show=C++.
But it will also map /C%2b%2b to
index.php?show=C++, because the %2b
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 404f111a366..a03637ef6da 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -1228,7 +1228,7 @@ cannot use $N in the substitution string!
so backreferences will be unescaped at the time they are applied.
Using the B flag, non-alphanumeric characters in backreferences
will be escaped. For example, consider the rule:
RewriteRule RewriteRule ^(.*)$ index.php?show=$1
+ RewriteRule ^(.*)$ index.php?show=$1
This will map /C++ to index.php?show=C++.
But it will also map /C%2b%2b to
index.php?show=C++, because the %2b