You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2023/04/11 21:37:10 UTC

svn commit: r1909074 - in /httpd/httpd/trunk/docs/manual: mod/mod_rewrite.html.en.utf8 rewrite/flags.html.en.utf8

Author: covener
Date: Tue Apr 11 21:37:10 2023
New Revision: 1909074

URL: http://svn.apache.org/viewvc?rev=1909074&view=rev
Log:
xforms

[skip ci]

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en.utf8
    httpd/httpd/trunk/docs/manual/rewrite/flags.html.en.utf8

Modified: httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en.utf8?rev=1909074&r1=1909073&r2=1909074&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en.utf8 [utf-8] (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en.utf8 [utf-8] Tue Apr 11 21:37:10 2023
@@ -364,7 +364,11 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
                   <dd>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 <code>QUERY_STRING</code>.</dd>
+                  named <code>QUERY_STRING</code>. The value returned for
+                  both <code>REQUEST_URI</code> and <code>QUERY_STRING</code>
+                  has already been %-decoded, to re-encoded it pass it through
+                  the "escape" <a href="#mapfunc">mapping-function</a>.
+                  </dd>
 
                   <dt><code>THE_REQUEST</code></dt>
 
@@ -1312,7 +1316,8 @@ cannot use <code>$N</code> in the substi
 <tr>
         <td>B</td>
         <td>Escape non-alphanumeric characters in backreferences <em>before</em>
-        applying the transformation. <em><a href="../rewrite/flags.html#flag_b">details ...</a></em></td>
+        applying the transformation. For similar escaping of server-variables, see
+        the "escape" <a href="#mapfunc">mapping-function</a>.<em><a href="../rewrite/flags.html#flag_b">details ...</a></em></td>
     </tr>
 <tr class="odd">
         <td>BCTLS</td>

Modified: httpd/httpd/trunk/docs/manual/rewrite/flags.html.en.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/flags.html.en.utf8?rev=1909074&r1=1909073&r2=1909074&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/flags.html.en.utf8 [utf-8] (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/flags.html.en.utf8 [utf-8] Tue Apr 11 21:37:10 2023
@@ -93,6 +93,10 @@ so backreferences are unescaped at the t
 Using the B flag, non-alphanumeric characters in backreferences
 will be escaped. For example, consider the rule:</p>
 
+<p>For similar escaping of server-variables, see
+    the "escape" <a href="#mapfunc">mapping-function</a></p>
+
+
 <pre class="prettyprint lang-config">RewriteRule "^search/(.*)$" "/search.php?term=$1"</pre>