Summary: Incorrect detection of mime type and extension while
           Product: MediaWiki
           Version: 1.16.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Uploading

If I upload a file with the name '' 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 '', 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).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to