]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
escaping doesn't actually happen by default
authorEric Covener <covener@apache.org>
Thu, 19 May 2022 18:43:39 +0000 (18:43 +0000)
committerEric Covener <covener@apache.org>
Thu, 19 May 2022 18:43:39 +0000 (18:43 +0000)
otherwise, we would not have [B] and two internal escape functions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901071 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml
docs/manual/rewrite/flags.xml

index 961c7c313faf540872334ebe0fa51278c072a532..8174690b5179704e2932186e501e30a0bcc26cff 100644 (file)
@@ -1404,8 +1404,9 @@ cannot use <code>$N</code> in the substitution string!
     <tr>
         <td>noescape|NE</td>
         <td>Prevent mod_rewrite from applying hexcode escaping of
-        special characters in the result of the rewrite. <em><a
-        href="../rewrite/flags.html#flag_ne">details ...</a></em></td>
+            special characters in the result of rewrites that result in 
+            redirection. <em>
+            <a href="../rewrite/flags.html#flag_ne">details ...</a></em></td>
     </tr>
     <tr>
         <td>nosubreq|NS</td>
index ce418d750fd399b2d5c43fa5e66ead3cf36a5fb5..c199ee0f6c4df493511bba5b28d2f14ac089a517 100644 (file)
@@ -476,7 +476,8 @@ RewriteRule "(.*\.(jpg|gif|png))$" "http://images.example.com$1" [P,NC]
 <section id="flag_ne"><title>NE|noescape</title>
 <p>By default, special characters, such as <code>&amp;</code> and
 <code>?</code>, for example, will be converted to their hexcode
-equivalent. Using the [NE] flag prevents that from happening.
+equivalent for rules that result in external redirects. 
+Using the [NE] flag prevents that from happening.
 </p>
 
 <highlight language="config">