Re: [exim-dev] [Bug 385] Cannot add Content-Transfer-Encodin…

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: bugzilla-daemon
CC: exim-dev
Subject: Re: [exim-dev] [Bug 385] Cannot add Content-Transfer-Encoding header with extra_headers statement
On Sun, 20 Aug 2006, bugzilla-daemon@??? wrote:

> Oh, and *adding* a character also makes it go through, but not changing one or
> more. So apparently it only fails with field names with exactly 25 characters.


Actually, any second or subsequent header with an odd number of characters
in the header name triggers the bug. The fix is:

--- filter.c    7 Jul 2006 14:36:04 -0000       1.11
+++ filter.c    21 Aug 2006 11:25:25 -0000
@@ -2186,7 +2186,6 @@
                   string_printing(s), command_list[commands->command]);
                 return FF_ERROR;
                 }
-              pp++;
               }
             p = pp;
             }



Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}