BUG #874 'cgi' added to wgFileBlacklist
authorJens Frank <jeluf@users.mediawiki.org>
Sat, 13 Nov 2004 15:05:01 +0000 (15:05 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sat, 13 Nov 2004 15:05:01 +0000 (15:05 +0000)
includes/DefaultSettings.php

index 9ea4796..7d67395 100644 (file)
@@ -550,7 +550,7 @@ $wgFileBlacklist = array(
        # PHP scripts may execute arbitrary code on the server
        'php', 'phtml', 'php3', 'php4', 'phps',
        # Other types that may be interpreted by some servers
-       'shtml', 'jhtml', 'pl', 'py',
+       'shtml', 'jhtml', 'pl', 'py', 'cgi',
        # May contain harmful executables for Windows victims
        'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );