diff options
author | Eric Covener <covener@apache.org> | 2022-05-19 20:43:39 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2022-05-19 20:43:39 +0200 |
commit | a4cb87abaf4d7e92215c690e487692fa612f6abc (patch) | |
tree | 685db66303859f0ded51776f1ff30246fa4016cd | |
parent | Credits [skip ci] (diff) | |
download | apache2-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
Diffstat (limited to '')
-rw-r--r-- | docs/manual/mod/mod_rewrite.xml | 5 | ||||
-rw-r--r-- | docs/manual/rewrite/flags.xml | 3 |
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>&</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"> |