[imp] 2 PGP and SMIME problems

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Jan 13 17:44:45 PST 2003


Quoting Chris Hastie <lists at oak-wood.co.uk>:

| 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 :)

I can't reproduce this - newlines in PGP messages display fine for me.  
There is definitely nothing wrong with the code snippet listed above either.

There was a problem with no newlines in PGP keys, but I have just fixed 
that in CVS.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list