summaryrefslogtreecommitdiffstats
path: root/modules/mappers
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2008-01-11 11:52:09 +0100
committerNick Kew <niq@apache.org>2008-01-11 11:52:09 +0100
commit8c1e306031f01940b09ec95d272191930fb443e5 (patch)
tree1b752ac5a6f10e44ac9fbf9e44c5f1bac7d2f2ec /modules/mappers
parentLink to an explaination of the password format used in an example. (diff)
downloadapache2-8c1e306031f01940b09ec95d272191930fb443e5.tar.xz
apache2-8c1e306031f01940b09ec95d272191930fb443e5.zip
mod_rewrite: Don't canonicalise URLs with [P,NE]
PR 43319 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@611134 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mappers')
-rw-r--r--modules/mappers/mod_rewrite.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c
index 8d0e12d4a1..2126aaf988 100644
--- a/modules/mappers/mod_rewrite.c
+++ b/modules/mappers/mod_rewrite.c
@@ -4412,6 +4412,10 @@ static int hook_uri2file(request_rec *r)
return HTTP_FORBIDDEN;
}
+ if (rulestatus == ACTION_NOESCAPE) {
+ apr_table_setn(r->notes, "proxy-nocanon", "1");
+ }
+
/* make sure the QUERY_STRING and
* PATH_INFO parts get incorporated
*/