U
On Sun, 2006-05-14 at 10:39 +0000, Sergey Poznyakoff wrote: > Alastair Poole <[EMAIL PROTECTED]> wrote: > > > I recently found a bug in libgnumailutils where mail received in > > quoted-printable transfer encoding was broken, at least to some degree. > > > > Quoted-printable encoding converts special characters such as "=" to > > "=3D", as I am sure many of you are aware. Well although > > libgnumailutils converts most of the messages in this format it does not > > catch "=3D" and convert them back to singular "=". > > Strange. I am reading your mail using MU and see equal sign where > it is supposed to be. Please specify the exact steps one should > follow to reproduce this behavior. > Regards, > Sergey > > Basically, mu_message_get_body(msg, &body); mu_body_get_stream(body, &stream); mu_stream_read(stream, buf, sizeof(buf) 0, &ret); To obtain the data as above, then if you send a GnuPG key from Evolution which uses Quoted-printable encoding and the GnuPG key contains =, or consecutive ==, stream_read returns =3D=3D, as Evolution sent it. If it helps my program is at http://alastair.gatheringofgray.com/darp-0.4.4.tar.gz and the relevant code and hack are in darp_mailbox.c... GnuPG keys might be the key to reproducing this bug. Perhaps I have done something wrong (I don't think so though). Anyway again if this is not sufficient please write back. sincerely Alastair
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
