summaryrefslogtreecommitdiff
path: root/doc/doc-txt
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-03-09 17:40:48 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-03-09 18:45:31 +0000
commit93cc2d6e053031a7008f73ca1ea072038bfa3fc8 (patch)
tree76d079a8d6bd231559ddd84131e663e975946d5b /doc/doc-txt
parentfae3a611be53dbf58cbb7c2c4846081ecb87606e (diff)
String expansions: fix ${extract }, for the numeric/3-string case. Bug 1807
Broken-by: 82dbd37 In "skipping" mode when parsing an expansion we want to avoid expanding the arguments, as the data for expansion is not necessarily valid. This bit us previously for an extract within an "if inlist". But the number of args for ${extract } depends on the expanded value of the first arg. Retreat from strict parsing and just line up the outer braces, accepting any number of args while skipping. The separate non-skipping execution will do the proper checking.
Diffstat (limited to 'doc/doc-txt')
-rw-r--r--doc/doc-txt/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index d36b731cd..320b29a53 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -194,6 +194,11 @@ JH/47 Fix build on HP-UX and older Solaris, which need (un)setenv now also
for the new environment-manipulation done at startup. Move the routines
from being local to tls.c to being global via the os.c file.
+JH/48 Bug 1807: Fix ${extract } for the numeric/3-string case. While preparsing
+ an extract embedded as result-arg for a map, the first arg for extract
+ is unavailable so we cannot tell if this is a numbered or keyed
+ extraction. Accept either.
+
Exim version 4.86