Add cmd, vxd, cpl to upload blacklist
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 31 Jan 2004 21:32:00 +0000 (21:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 31 Jan 2004 21:32:00 +0000 (21:32 +0000)
includes/DefaultSettings.php

index cce591b..f1b8bf1 100644 (file)
@@ -211,7 +211,7 @@ $wgFileBlacklist = array(
        # Other types that may be interpreted by some servers
        "shtml", "jhtml", "pl", "py",
        # May contain harmful executables for Windows victims
-       "exe", "scr", "dll", "msi", "vbs", "bat", "com", "pif" );
+       "exe", "scr", "dll", "msi", "vbs", "bat", "com", "pif", "cmd", "vxd", "cpl" );
 
 # This is a flag to determine whether or not to check file extensions on
 # upload.