r22826 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22825‎ | r22826 | r22827 >
Date:20:49, 7 June 2007
Author:robchurch
Status:old
Tags:
Comment:
* (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
* Trim release note from bug 7997
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1475,7 +1475,7 @@
14761476 /** Files with these extensions will never be allowed as uploads. */
14771477 $wgFileBlacklist = array(
14781478 # HTML may contain cookie-stealing JavaScript and web bugs
1479 - 'html', 'htm', 'js', 'jsb',
 1479+ 'html', 'htm', 'js', 'jsb', 'mhtml', 'mht',
14801480 # PHP scripts may execute arbitrary code on the server
14811481 'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
14821482 # Other types that may be interpreted by some servers
Index: trunk/phase3/RELEASE-NOTES
@@ -64,9 +64,8 @@
6565 * Show result of Special:Booksources in wiki content language always, it's
6666 normally better maintained than the generic list from the standard message
6767 files
68 -* (bug 7997) Added ability of sysops to block users from sending e-mail via
69 - Special:Emailuser. This can be disabled by setting $wgSysopEmailBans to
70 - false.
 68+* (bug 7997) Allow users to be blocked from using Special:Emailuser
 69+* (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
7170
7271 == Bugfixes since 1.10 ==
7372

Follow-up revisions

RevisionCommit summaryAuthorDate
r22857Merged revisions 22811-22855 via svnmerge from...david00:48, 9 June 2007

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r22816(bug 7997) Added ability to Special:Blockip to block users from using Special...amidaniel17:31, 7 June 2007

Status & tagging log