Re: Attaching messages with 2004/10/11 snapshot

[email protected]
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
On Wed, 05 Jan 2005 15:02:20 GMT, George Ross said:

> How about the following (diffs against Brent's recent 2.7.2)?  The default 
> is to smash the filename, as before, with only a handful of cases flagged 
> explicitly as safe.

I've checked this in to CVS.  While testing, I discovered another bug,
possibly bad.

Consider the following MIME headers:

--==_Exmh_1104942279_89120
Content-Type: text/plain ; name="foo;bar;baz"; charset=us-ascii
Content-Description: foo;bar;baz
Content-Disposition: attachment; filename="foo;bar;baz"

We break on the ; without bothering to see that it's inside "", and the
filename ends up being '_foo' (we failed to deal with the leading " as well,
it looks like?

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

iD8DBQFB3BYVcC3lWbTT17ARAiWeAKD5pNf8J6bPiQ3eVKxzK4AFUthxggCeIjyX
Q04qEk/rxeumLP6zxZpf+LM=
=JWZM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.