Commit 15a19624 authored by Eric Covener's avatar Eric Covener
Browse files

Merge r1031338 from trunk:

PR#40831: empty-valued keys behave like missing keys in a RewriteMap lookup.




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1031340 13f79535-47bb-0310-9956-ffa450edef68
parent 1e77efb3
Loading
Loading
Loading
Loading
+3 −1
Changes for docs/manual/mod/mod_rewrite.html.en: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -843,7 +843,9 @@ Apache 2.0.41 and later</td></tr>
      key is found, the map-function construct is substituted by
      <em>SubstValue</em>. If the key is not found then it is
      substituted by <em>DefaultValue</em> or by the empty string
      if no <em>DefaultValue</em> was specified.</p>
      if no <em>DefaultValue</em> was specified. Empty values
      behave as if the key was absent, therefore it is not possible
      to distinguish between empty-valued keys and absent keys.</p>

      <p>For example, you might define a
      <code class="directive">RewriteMap</code> as:</p>
+3 −1
Changes for docs/manual/mod/mod_rewrite.xml: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -341,7 +341,9 @@ Apache 2.0.41 and later</compatibility>
      key is found, the map-function construct is substituted by
      <em>SubstValue</em>. If the key is not found then it is
      substituted by <em>DefaultValue</em> or by the empty string
      if no <em>DefaultValue</em> was specified.</p>
      if no <em>DefaultValue</em> was specified. Empty values
      behave as if the key was absent, therefore it is not possible
      to distinguish between empty-valued keys and absent keys.</p>

      <p>For example, you might define a
      <directive>RewriteMap</directive> as:</p>