From: Eric Covener
Date: Thu, 4 Nov 2010 23:10:45 +0000 (+0000)
Subject: PR#40831: empty-valued keys behave like missing keys in a RewriteMap lookup.
X-Git-Tag: 2.3.9~133
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3c126a1bdc3718d563b2447eb7c27e2056a46a5;p=apache
PR#40831: empty-valued keys behave like missing keys in a RewriteMap lookup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031338 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en
index 21eadbdce8..feea5d217f 100644
--- a/docs/manual/mod/mod_rewrite.html.en
+++ b/docs/manual/mod/mod_rewrite.html.en
@@ -727,7 +727,9 @@ Apache HTTP Server 2.0.41 and later
key is found, the map-function construct is substituted by
SubstValue. If the key is not found then it is
substituted by DefaultValue or by the empty string
- if no DefaultValue was specified.
+ if no DefaultValue 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.
For example, you might define a
RewriteMap
as:
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 39873be967..6afbf5571d 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -203,7 +203,9 @@ Apache HTTP Server 2.0.41 and later
key is found, the map-function construct is substituted by
SubstValue. If the key is not found then it is
substituted by DefaultValue or by the empty string
- if no DefaultValue was specified.
+ if no DefaultValue 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.
For example, you might define a
RewriteMap as: