[imp] 2 PGP and SMIME problems

Chris Hastie lists at oak-wood.co.uk
Mon Jan 13 13:48:52 PST 2003


On Mon, 13 Jan 2003, Didi Rieder <adrieder at sbox.tugraz.at> wrote
>1.
>I noticed, that when I send a PGP signed message blank lines in this message are
>going to be discarded, so that all the message text sticks together.

Appears to be due to lines 1134 - 1136 in lib/MIME/Part.php, in the 
transferEncode() function:

                 if (!empty($current_line)) {
                     $output .= $current_line . $eol;
                 }

Testing that $current_line is not empty results in empty lines being 
dropped. Dropping the if condition improves this, but probably breaks 
something else I don't know about :)
-- 
Chris Hastie


More information about the imp mailing list