[Mimedefang] Nested Attachments

Paul Murphy pmurphy at ionixpharma.com
Mon Mar 8 07:55:59 EST 2004


Aaaaarggghhhh!

Just realised that my code was incorrect - I tried to tidy it up for
publication, and ended up breaking it instead...

The extension definition line:

> $bad_exts =
> '(ade|adp|app|arj|asd|asf|asx|bas|bat|bzp|chm|cmd|com|cpl|crt|
> dll|exe|fxp|hlp|ht
> a|hto|inf|ini|ins|isp|jar|jse?|lib|lnk|mdb|mde|mht|msc|msi|msp
> |mst|ocx|pcd|pif|p
> rg|reg|scr|sct|sh|shb|shs|sys|url|vb|vbe|vbs|vcs|vxd|wmd|wms|w
> mz|wsc|wsf|wsh|zip
> |\{[^\}]+\})';

Should of course be:

> $bad_zip_exts =
> '(ade|adp|app|arj|asd|asf|asx|bas|bat|bzp|chm|cmd|com|cpl|crt|
> dll|exe|fxp|hlp|ht
> a|hto|inf|ini|ins|isp|jar|jse?|lib|lnk|mdb|mde|mht|msc|msi|msp
> |mst|ocx|pcd|pif|p
> rg|reg|scr|sct|sh|shb|shs|sys|url|vb|vbe|vbs|vcs|vxd|wmd|wms|w
> mz|wsc|wsf|wsh|zip
> |\{[^\}]+\})';

Best Wishes,

Paul.
__________________________________________________
Paul Murphy
Head of Informatics
Ionix Pharmaceuticals Ltd
418 Science Park, Cambridge, CB4 0PA

Tel. 01223 433741
Fax. 01223 433788



_______________________________________________________________________
DISCLAIMER:
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they
are addressed.  If you have received this email in error please contact
the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741
_______________________________________________________________________ 



More information about the MIMEDefang mailing list