* Improved upload file type detection for OpenDocument formats
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 25 Sep 2008 18:43:33 +0000 (18:43 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 25 Sep 2008 18:43:33 +0000 (18:43 +0000)
commita14508de095f1a839e86b7adc8131bceb1000ea0
tree7c6c344f2b4c2e73257174a5727750dbf2ad0db9
parent7dc62e75ed4b79962b1cea1bcc0fd124d8b19650
* Improved upload file type detection for OpenDocument formats

Added a check for the magic value header in OpenDocument zip archives which specifies which subtype it is. Such files will get detected with the appropriate mime type and matching extension, so ODT etc uploads will work again where enabled.

(Previously the general ZIP check and blacklist would disable them.)
RELEASE-NOTES
includes/MimeMagic.php