Autor: Hana Breyer Priselac Data: Para: Nigel Metheringham CC: exim-users Assunto: RE: [Exim] system filter and non ascii names
> Actually I guess one approach is to block files with ISO character > names or names that match the current extension list. But I don't
> think there is any way I can deduce with a regular expression whether
> or not an ISO type name could match it.
:)))
But yes - a pretty good guess could be made through regular expressions.
Things look like this:
filename="=?iso-8859-2?Q?Pro=E8itajte=2Edoc?="
or like this (also a .doc):
filename="=?iso-8859-2?B?yGnoYS5leGU=?="
etc.
As you may notice, it has an ?iso-8859-2? part and I reckon filenames that
contain ?iso-8859-2? as ordinary name are NOT too common.
But, my users would get extremy upset if I'd restrict them to ascii
filenames. Yours probablly won't care. Lucky you.