Author: dayson
Description:
If I upload a file with the name 'TextmeEncryption.php.zip' I get the following error message.
".zip" is not a permitted file type. Permitted file types are png, gif, jpg, jpeg, zip.
I have also added the following to my list LocalSettings.php
$wgFileExtensions[] = 'zip';
$wgVerifyMimeType = false; //disable mime type verification
If I rename the file to 'TextmeEncryption_php.zip', it works fine!
But this shouldn't be the expected behavior. The first file name used is absolutely appropriate too (Both in terms of naming and mime-type).
Version: 1.16.x
Severity: normal