]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1031338 from trunk:
authorEric Covener <covener@apache.org>
Thu, 4 Nov 2010 23:13:09 +0000 (23:13 +0000)
committerEric Covener <covener@apache.org>
Thu, 4 Nov 2010 23:13:09 +0000 (23:13 +0000)
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

docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml

index 8488239c648fc6b905f2a6a2db37e2b5893fb579..fea0e3866ca845fe53fd8738fe056bc84049eb18 100644 (file)
@@ -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>
index 0c19004b32e8a90839de0c6d761218cf1ac7b616..caee7fbbc75824e7d80500fc1eecf6c5b30758af 100644 (file)
@@ -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>