[Mimedefang] filename matching in filter_bad_filename

David F. Skoll dfs at roaringpenguin.com
Mon Jun 14 15:37:13 EDT 2004


On Mon, 14 Jun 2004, Graham Dunn wrote:

> OK, even with this in there, I'm still hitting the code that checks for
> bad zips.

[...]

>     return 1 if (re_match($entity, $re));
>     return 0 if (re_match($entity, $secret));

Ponder the order of those two statements...

Regards,

David.



More information about the MIMEDefang mailing list