[exim] Extension of $mime_decoded_filename?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Sven Geggus
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Extension of $mime_decoded_filename?
Hello,

I have a small script which is checking zipfile attachments for
malicious filenames like .pdf.exe

this works well, but now I would like to expand this for .rar files
as well.

So what's the mechanism for the creation of $mime_decoded_filename?

Can I safely assume that it is "something.zip" or "something.rar"
respectively if $mime_filename is "something-else.zip"?

Regards

Sven

--
Das Internet ist kein rechtsfreier Raum, das Internet ist aber auch
kein bürgerrechtsfreier Raum. (Wolfgang Wieland Bündnis 90/Die Grünen)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web