Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3620
mhtlblaclist.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:33 PM
2014-11-21 21:33:45 (UTC+0)
Size
635 B
Referenced Files
None
Subscribers
None
mhtlblaclist.txt
View Options
Index: includes/DefaultSettings.php
===================================================================
--- includes/DefaultSettings.php (revision 20824)
+++ includes/DefaultSettings.php (working copy)
@@ -1380,7 +1380,7 @@
/** Files with these extensions will never be allowed as uploads. */
$wgFileBlacklist = array(
# HTML may contain cookie-stealing JavaScript and web bugs
- 'html', 'htm', 'js', 'jsb',
+ 'html', 'htm', 'js', 'jsb', 'mhtml', 'mhtm', 'mht',
# PHP scripts may execute arbitrary code on the server
'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
# Other types that may be interpreted by some servers
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3187
Default Alt Text
mhtlblaclist.txt (635 B)
Attached To
Mode
T10989: Blacklist .mht and .mhtml extensions
Attached
Detach File
Event Timeline
Log In to Comment