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

"Julian H. Stacey" <[email protected]> Mon, 10 Sep 2012 22:54:03 +0200
Newsgroups gmane.mail.exmh.user
Organization http://berklix.com BSD Unix Linux Consultancy, Munich Germany
Message-ID <[email protected]>
[email protected] wrote:
> --==_Exmh_1347304341_3022P
> Content-Type: text/plain; charset=us-ascii
> 
> 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.

OK Thanks Valdis, for info 2.8 does not have this bug :-)
I'll make a note that I should find time to upgrade FreeBS ports
exmh wrapper from it's current 2.7.2.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.