Re: exmh-2.7.2_3 mangles attachments with file names >= 59 chars

[email protected] Mon, 10 Sep 2012 15:12:21 -0400
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
On Mon, 10 Sep 2012 18:16:44 +0200, "Julian H. Stacey" said:
> Hi [email protected]
> Bug Report:
> Attaching a long file name >= 59 chars, the data content gets mangled !
> With exmh-2.7.2_3 + nmh-1.2_3 + OS=FreeBSD 8.2-RELEASE
> (all localy compiled BTW)
>
> Is this is an EXMH bug, or an nmh bug to report elsewhere please ?

Appears to be a line-wrapping bug - 59 char filename makes the line hit 80 chars.
I tested with a ~70 char filename on my system and it seems to work right:

--==_Exmh_1347303999_30220
Content-Type: text/plain ; name="59aaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaa"; charset=us-ascii
Content-Description: 59aaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaa
Content-Disposition: attachment; filename="59aaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaaa9aaaaaaaa"

This is with:

X-mailer: exmh version 2.8.0 04/21/2012 with nmh-1.4-dev

so I'm not feeling really interested in tracking down who dropped the ball in 2.7.2/1.2.

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
signature.asc (application/pgp-signature, 865 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iQIVAwUBUE47lQdmEQWDXROgAQK5vA/9GxxsO9EE+Uoc9gPBoJ1XOL4yXpoqBryx
U1F9y9kpWMXLEHsdVLnZZUT1WAEYONJCFJyd5DNMTAqBaP3FaKpR1Ii6v27bn5lH
++uAvY5bNx4eHdtONkb17t7agqbMJ4UQAArMWMPGgWCC+Yg91d4ZeyJQ5tg6RzQ5
jPuf+78dFE9mfx1vTnyuhd4YEJPJJURCP4AC0FigNKSIiufDFeQaJKPphK+iXiHW
hesrHIf1bzgmeYmmkxGmXs5CDJuSkzxbMgpzIHKzXD5RBBMm/6Ag+VMR/8k62wry
X6mVaxbX3O0ESjI/3E2kkYnBhLXZ+yCLYjAXaqvrZOWbpkdctCuhhqBcgZVZH8q0
a1ojd1/8jV5bgNDFym5CHQRCViPb394k4bqPZlbwTr7oJ45ZuuI6bptxIcorWzFN
5uyJxpeohITWB2IQs2BxtNuYsfuXfAyiFkEHPk13+ScJ1lcEi34FUID4pi32QXqz
yZo7SFPysyU/4/ZR46vAxUtoXqfi7hJ4q8n4TGIIRIRTF02wlDBXreTwnzoISeFq
sGZSx3nn/2mJqhIyDZu6oxMrXtsNXXock9jhISOrG0LQjbCeoRAEj1RQ9zb9oUuH
bUGHvqpnJ/WRDaQTQm5lx91EQxplLMthlm9jaYdFy1ajPnpDBDwi+bwszURg6ijW
OrM8HLinIgA=
=it9a
-----END PGP SIGNATURE-----