Comment 16 for bug 266068

Revision history for this message
Lionel Elie Mamane (lionel-mamane) wrote : Re: [Bug 266068] Re: "From" at line start fools archiver, loses/splits message body

On Thu, May 21, 2009 at 11:35:05PM -0000, Mark Sapiro wrote:

> I have attached 77_header_folding_in_attachments_refactored.patch. This
> is still against the 2.1.9 base as that is where I was doing the testing
> but porting it forward should be trivial.

Thank you. I tested it fixes launchpad bug 266068, and still fixes
265967. Will you apply it upstream, thereby closing 265967?

> Another issue had me scratching my head for a while. It is that all
> the mangle_from_ suppression may be futile.

Yes, I had the same gut feeling. Any signature protocol should escape
From lines in some shape (e.g. ">From" or " - From" or
quoted-printable encode the F or ...) before signing, or it will be
quite fragile. All (known to me or the author of GnuPG)
implementations of OpenPGP do it. Some MUAs do the quoted-printable
trick.

I originally left this part of the patch in because I was unsure about
S/MIME.

--
Lionel