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

           Summary: File upload error messages don't properly take
                    $wgFileBlacklist into account
           Product: MediaWiki
           Version: 1.15-svn
          Platform: All
               URL: http://www.mwusers.com/forums/showthread.php?t=10408
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Uploading
        AssignedTo: [email protected]
        ReportedBy: [email protected]


If you've set $wgFileExtensions[] = 'exe'; and try to upload an executable, you
will get an error message:
".exe" is not a permitted file type. Permitted file types are png, gif, jpg,
jpeg, doc, xls, ppt, pps, pdf, png, gif, jpg, jpeg, xml, xsd, wsdl, txt, exe,
zip."
because .exe is blacklisted.

An extension being in $wgFileExtensions should probably override its being
blacklisted: I assume $wgFileBlacklist is just there to make
$wgStrictFileExtensions = false; safe.


-- 
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