Mailing List Archive

[Bug 2804] Header lines are not unfolded correctly
https://bugs.exim.org/show_bug.cgi?id=2804

--- Comment #1 from Simon Arlott <bugzilla.exim.simon@arlott.org> ---
It looks like Exim has been doing this since at least 2004.

When Exim encounters multiple header lines (not just a single header on
multiple lines) it is documented as inserting a newline between each header.
That would make it impossible to determine where each header begins, e.g.:

Subject: test1
test2
Subject: test3
test4

This would mean that "$h_Subject:" expands to "test1\ntest2\ntest3\ntest4" when
it should be "test1 test2\ntest3 test4".

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##