[exim-dev] [Bug 1452] bugs in headers_add and headers_remove

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1452] bugs in headers_add and headers_remove
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Jeremy Harris <jgh146exb@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgh146exb@???
         AssignedTo|nigel@???              |jgh146exb@???





--- Comment #1 from Jeremy Harris <jgh146exb@???> 2014-03-31 00:42:45 ---
We've arrived here via some unfortunate phrasing in the manual, and the recent
introduction of support for multiple headers_add (etc) options.

The cleanest fix will involve a change of specification:
- items in a headers_add or _remove list will be individually expanded
- null items will always be stripped

This my affect a few corner-case uses. The ones that come to mind are:
- Abusing headers_add with embedded newlines as a way of prepending body
content will no longer work
- Headers_remove lists having items with colons in will now need them doubled
(apparently they previously did not)


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