From: Vincent Bray Date: Tue, 18 Sep 2007 17:12:53 +0000 (+0000) Subject: buildfluff X-Git-Tag: 2.3.0~1408 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c571b327bb9093074a9d948fa619a6719c07830;p=apache buildfluff git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@576981 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index fc02d5c2a9..dc762b98db 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -1251,11 +1251,11 @@ cannot use $N in the substitution string! Using the B flag, non-alphanumeric characters in backreferences will be escaped. For example, consider the rule:

 RewriteRule RewriteRule ^(.*)$   index.php?show=$1 
-

This will map /C++ to index.php?show=C++. +

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 + index.php?show=/C++, because the %2b has been unescaped. With the B flag, it will instead map to - index.php?show=>/C%2b%2b.

+ index.php?show=/C%2b%2b.

This escaping is particularly necessary in a proxy situation, when the backend may break if presented with an unescaped URL.