[exim-dev] [Bug 1533] headers_remove items size-limited

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-dev
Stare tematy: [exim-dev] [Bug 1533] New: headers_remove items size-limited
Temat: [exim-dev] [Bug 1533] headers_remove items size-limited
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1533




--- Comment #10 from Jeremy Harris <jgh146exb@???> 2015-03-24 15:45:52 ---
Aha. headers_remove expects a colon-sep list, so it takes the bare string
you feed it and splits at colons. The part up to and including the 'A' is
the first element of that list. Each element then has string-expansion applied
-
so the (now) badly-formed ${if } is evaluated.

The documentation hints at this: "Each item is separately expanded".

If the list is short, just double the colons.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email