https://bugzilla.wikimedia.org/show_bug.cgi?id=22934

           Summary: files of mimetype with unknown file extension are
                    automatically allowed
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


UploadBase::verifyExtension: no file extension known for mime type
image/x-ms-bmp, passing file

This seems like a strange default. Would properly be better to generate a
warning in that case or simply error out.

(To reproduce: upload a x-ms-bmp file. this mimetype is currently not in the
includes/mime.types. now upload it over another type of file. make sure "ignore
warnings" is not checked.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to