[rt-users] RT doesn't decode attachment file names

Bruce Campbell bruce_campbell at ripe.net
Tue Jun 4 05:03:57 EDT 2002


On Mon, 3 Jun 2002, Sebastian Flothow wrote:

> One of our transactions has an attachment with the name
> "FS BIO =?iso-8859-1?Q?PR=C4SENTIERT2=2Edoc?=" - RT (or whatever
> module RT uses for MIME parsing) obviously forgot to decode this.
>
> Is this caused by a problem in my installation, or is it a bug? If
> it's a bug, where/how do I report it?

And on a serious note, a few flaws in MIME::Tools has just been reported
to Bugtraq (Florian probably knows this already ;) ), including:

	Problem 3: Incorrect concatenation of encoded MIME words.
	MIME::Tools does not remove the space from this example:

        	(=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?=)

	to yield (ab); instead, it yields "(a b)"  Some MUA's use encoded MIME
	words in the Content-Type or Content-Disposition fields.  Although
	this is specifically disallowed by RFC 2047, again, some Windoze mail
	clients may make the "obvious" interpretation and decode the words.

So, not a bug with RT, but the underlying module it depends on.

-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations








More information about the rt-users mailing list