On Tue, 2009-05-26 at 10:20 +0200, Matus UHLAR - fantomas wrote:
> Well, first issue was only to compare file extension to provided mime type,
> so it would hit .gif file of type image/jpeg
> 
> >> or do we need a FileType plugin?
>
Yes - comparing MIME image type to the file extension is already
obsolete.

During the weekend I got a few image spams via a SourceForge mailing
list with MIME type image/jpg and filename something.jpg. gthumb
confirmed these were PNG files. The ImageInfo plugin caught them too.

BTW, some SourceForge mailing lists append a text/plain part containing
a mailing list-specific sig. Others may include a short text/plain part
containing an advert or sponsorship message. Of course these defeat the
'notext' test.



Martin


Reply via email to