On 2000-11-02, 12:38:10 (+0100), Kim Johnny Mathisen wrote:
>
> I'll get one user to send you an example. We don't use Outlook Express
> ourselves. We don't scan email twice anymore, so the files get mangled
> BEFORE it is scanned for viruses.
I found the problem, thanks for the sample. The offending header
looked like this:
Content-Disposition: attachment;
filename="=?iso-8859-1?Q?K=5FH=F8sem2000_foredrag_Atle=2Epp?=
=?iso-8859-1?Q?t?="
In my test, this resulted in a filename with a .pp__t extension,
caused by the newline/tab combination when the header was split
between lines. This is something I should obviously fix. :)
The problem where the underscore is converted into a space is a
little more subtle, and has to do with how I decode quoted-printable
in message headers, but I think I know how to fix it too. This is
just one of many little details to do with RFC compliance of the
sanitizer that need work. I'll try and bang together a fixed version
of the sanitizer sometime within the next few days and share it with
you guys.
Thanks for the feedback!
-- Bjarni R. Einarsson PGP: 02764305, B7A3AB89 05404@xyz.molar.is -><- http://bre.klaki.net/Netverjar gegn ruslpósti: http://www.netverjar.is/baratta/ruslpostur/
-- This mailing list's home page is: http://mailtools.anomy.net/archives/anomy-list/ There you can find subscription instructions and possibly an archive. Molar.is is a free Icelandic mailing list service.