]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1901071 from trunk:
authorEric Covener <covener@apache.org>
Thu, 19 May 2022 18:44:15 +0000 (18:44 +0000)
committerEric Covener <covener@apache.org>
Thu, 19 May 2022 18:44:15 +0000 (18:44 +0000)
escaping doesn't actually happen by default

otherwise, we would not have [B] and two internal escape functions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1901072 13f79535-47bb-0310-9956-ffa450edef68

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

index c7bcd310ed694bd31896249bbde1d5b3c8a6f34b..2bcb02f4b12ce4eba6165a14dc6637c1e30d605d 100644 (file)
@@ -1397,8 +1397,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 a8314bc73ee7c8eb3b9a3eb3e47d2bdba167d236..41dfcac57c1692cd17e3e8ba43c25b9d53ab89bc 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">