From: Eric Covener Date: Sat, 5 Apr 2014 18:46:57 +0000 (+0000) Subject: trailing space doesn't work in a rewrite flag value X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd964884c979ab56d9c39b86baf85ae3a7760cf5;p=thirdparty%2Fapache%2Fhttpd.git trailing space doesn't work in a rewrite flag value git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1585159 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index 3e2f68543f6..951a6ce2f7a 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -69,7 +69,9 @@ of how you might use them.

module="mod_rewrite">RewriteRule to escape non-alphanumeric characters before applying the transformation.

In 2.4.10 and later, you can limit the escaping to specific characters -in backreferences by listing them: [B=#?;]

+in backreferences by listing them: [B=#?;]. Note: The space +character can be used in the list of characters to escape, but it cannot be +the last character in the list.

mod_rewrite has to unescape URLs before mapping them, so backreferences are unescaped at the time they are applied.