[exim-dev] [Bug 1807] regression - extract inside map

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 1807] regression - extract inside map
https://bugs.exim.org/show_bug.cgi?id=1807

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???


--- Comment #2 from Git Commit <git@???> ---
Git commit:
http://git.exim.org/exim.git/commitdiff/93cc2d6e053031a7008f73ca1ea072038bfa3fc8

commit 93cc2d6e053031a7008f73ca1ea072038bfa3fc8
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Mar 9 17:40:48 2016 +0000
Commit:     Jeremy Harris <jgh146exb@???>
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.