From: Jimmy Collins Date: Mon, 9 Oct 2006 20:02:36 +0000 (+0000) Subject: * (bug 7537) Add php5 to $wgFileBlacklist X-Git-Tag: 1.31.0-rc.0~55555 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4fcc08b206d555e0e4779ae222e308e4e566f565;p=lhc%2Fweb%2Fwiklou.git * (bug 7537) Add php5 to $wgFileBlacklist --- 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