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

Pàgina inicial
Delete this message
Reply to this message
Autor: Martin Nicholas
Data:  
A: exim-dev
Assumptes nous: [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.
Assumpte: [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