[exim-dev] [Bug 884] New: Strip leading/trailing newlines fr…

Top Page
Delete this message
Reply to this message
Author: Martin Nicholas
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 884] Strip leading/trailing newlines from headers_add string., [exim-dev] [Bug 884] Strip leading/trailing newlines from headers_add string., [exim-dev] [Bug 884] Strip leading/trailing newlines from headers_add string.
Subject: [exim-dev] [Bug 884] New: Strip leading/trailing newlines from headers_add string.
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=884
           Summary: Strip leading/trailing newlines from headers_add string.
           Product: Exim
           Version: N/A
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: low
         Component: Delivery in general
        AssignedTo: nigel@???
        ReportedBy: reply-2009@???
                CC: exim-dev@???



This seems like a good idea in general - stops accidentally terminating the
header block.

Also eases the adding of chains of headers from expansions so:
headers_add = MACRO_WHICH_MAY_EXPAND_TO_AN_EMPTY_STRING\nX-Some-Header: blah

Certainly you could include the newline in the macro, but then you might want
to also do this:
headers_add = MACRO_WHICH_MAY_EXPAND_TO_AN_EMPTY_STRING

Cheers!


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