[imp] [horde] line breaks?

Michael M Slusarz slusarz at horde.org
Thu Feb 7 00:50:47 UTC 2013


Quoting Michael M Slusarz <slusarz at horde.org>:

>> abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=$
>> =BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC  $
>> abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=$
>> =BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC$
>
> Looking at this... unfortunately it does look like we are  
> incorrectly generating the quoted-printable data.  To preserve  
> whitespace at the end of a line, it must be followed by a "soft line  
> break" - a bare "=".  This isn't happening here.  It looks like the  
> quoted-printable decoder used by Cyrus (I can also confirm the same  
> behavior on Dovecot 2.2) is much stricter about the format than our  
> encoder.
>
> We are using PHP's built-in quoted-printable stream encoder to  
> produce this output so this (unfortunately) might be an issue  
> outside of the realm of Horde/IMP.  I will need to investigate  
> further.

...and it is a PHP bug.

https://bugs.php.net/bug.php?id=64166

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list