From 4fcc08b206d555e0e4779ae222e308e4e566f565 Mon Sep 17 00:00:00 2001 From: Jimmy Collins Date: Mon, 9 Oct 2006 20:02:36 +0000 Subject: [PATCH] * (bug 7537) Add php5 to $wgFileBlacklist --- RELEASE-NOTES | 2 ++ includes/DefaultSettings.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 761ebf123b..bdd763688b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -283,6 +283,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner, twoheadrightarrow, twoheadleftarrow * (bug 7367) Hyphens sometimes erroneously appended to equations when not converted to PNG * Add "title" to the opensearch link to allow automatic adding of the search engine in Firefox 2 +* (bug 7537) Add php5 to $wgFileBlacklist + == Languages updated == diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index aa73ade84a..a955d5e92c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1265,7 +1265,7 @@ $wgFileBlacklist = array( # HTML may contain cookie-stealing JavaScript and web bugs 'html', 'htm', 'js', 'jsb', # PHP scripts may execute arbitrary code on the server - 'php', 'phtml', 'php3', 'php4', 'phps', + 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', # Other types that may be interpreted by some servers 'shtml', 'jhtml', 'pl', 'py', 'cgi', # May contain harmful executables for Windows victims -- 2.20.1