1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

buildfluff

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@576981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vincent Bray
2007-09-18 17:12:53 +00:00
parent 43ce7e3b2a
commit 2c571b327b

View File

@@ -1251,11 +1251,11 @@ cannot use <code>$N</code> in the substitution string!
Using the B flag, non-alphanumeric characters in backreferences
will be escaped. For example, consider the rule:</p>
<pre><code> RewriteRule RewriteRule ^(.*)$ index.php?show=$1 </code></pre>
<p>This will map <code>/C++</code> to <code>index.php?show=C++</code>.
<p>This will map <code>/C++</code> to <code>index.php?show=/C++</code>.
But it will also map <code>/C%2b%2b</code> to
<code>index.php?show=C++</code>, because the <code>%2b</code>
<code>index.php?show=/C++</code>, because the <code>%2b</code>
has been unescaped. With the B flag, it will instead map to
<code>index.php?show=&gt;/C%2b%2b</code>.</p>
<code>index.php?show=/C%2b%2b</code>.</p>
<p>This escaping is particularly necessary in a proxy situation,
when the backend may break if presented with an unescaped URL.</p>
</dd>