I have an xls file to upload.
- $wgFileExtensions includes an entry for xls.
- phpinfo() output says PHP Fileinfo extension is loaded.
- $wgLoadFileinfoExtension = true;
In my environment, manually checking type with Fileinfo yields: application/vnd.ms-excell
However, when attempting to upload this same file MW 1.23.2 it yields: File extension ".xls" does not match the detected MIME type of the file (application/zip).
It's as though something else is being used for MIME type detection on files. Any idea what might cause this? (and how to fix it?). Thanks!