summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2022-05-19 20:43:39 +0200
committerEric Covener <covener@apache.org>2022-05-19 20:43:39 +0200
commita4cb87abaf4d7e92215c690e487692fa612f6abc (patch)
tree685db66303859f0ded51776f1ff30246fa4016cd
parentCredits [skip ci] (diff)
downloadapache2-a4cb87abaf4d7e92215c690e487692fa612f6abc.tar.xz
apache2-a4cb87abaf4d7e92215c690e487692fa612f6abc.zip
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/trunk@1901071 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/mod_rewrite.xml5
-rw-r--r--docs/manual/rewrite/flags.xml3
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 961c7c313f..8174690b51 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -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>
diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml
index ce418d750f..c199ee0f6c 100644
--- a/docs/manual/rewrite/flags.xml
+++ b/docs/manual/rewrite/flags.xml
@@ -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">