https://bugs.exim.org/show_bug.cgi?id=1807
Git Commit <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Git Commit <[email protected]> --- Git commit: http://git.exim.org/exim.git/commitdiff/93cc2d6e053031a7008f73ca1ea072038bfa3fc8 commit 93cc2d6e053031a7008f73ca1ea072038bfa3fc8 Author: Jeremy Harris <[email protected]> AuthorDate: Wed Mar 9 17:40:48 2016 +0000 Commit: Jeremy Harris <[email protected]> CommitDate: Wed Mar 9 18:45:31 2016 +0000 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. ---- doc/doc-txt/ChangeLog | 5 ++++ src/src/expand.c | 55 +++++++++++++++++++++++++++----------------- test/scripts/0000-Basic/0002 | 3 +++ test/stdout/0002 | 3 +++ 4 files changed, 45 insertions(+), 21 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
