From 9ba59878f4e8727e2b257108585260a6e0b6ba45 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Tue, 11 Apr 2023 21:37:10 +0000 Subject: xforms [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909074 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.html.en.utf8 | 9 +++++++-- docs/manual/rewrite/flags.html.en.utf8 | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/manual/mod/mod_rewrite.html.en.utf8 b/docs/manual/mod/mod_rewrite.html.en.utf8 index 4ae6a2633b..44707f8cae 100644 --- a/docs/manual/mod/mod_rewrite.html.en.utf8 +++ b/docs/manual/mod/mod_rewrite.html.en.utf8 @@ -364,7 +364,11 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
The path component of the requested URI, such as "/index.html". This notably excludes the query string which is available as its own variable - named QUERY_STRING.
+ named QUERY_STRING. The value returned for + both REQUEST_URI and QUERY_STRING + has already been %-decoded, to re-encoded it pass it through + the "escape" mapping-function. +
THE_REQUEST
@@ -1312,7 +1316,8 @@ cannot use $N in the substitution string! B Escape non-alphanumeric characters in backreferences before - applying the transformation. details ... + applying the transformation. For similar escaping of server-variables, see + the "escape" mapping-function.details ... BCTLS diff --git a/docs/manual/rewrite/flags.html.en.utf8 b/docs/manual/rewrite/flags.html.en.utf8 index b6deba0bcd..c0b8ccb9e9 100644 --- a/docs/manual/rewrite/flags.html.en.utf8 +++ b/docs/manual/rewrite/flags.html.en.utf8 @@ -93,6 +93,10 @@ so backreferences are unescaped at the time they are applied. Using the B flag, non-alphanumeric characters in backreferences will be escaped. For example, consider the rule:

+

For similar escaping of server-variables, see + the "escape" mapping-function

+ +
RewriteRule "^search/(.*)$" "/search.php?term=$1"
-- cgit v1.2.1