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

           Summary: /skins/common/upload.js does not consider
                    wgCheckFileExtensions
           Product: MediaWiki
           Version: 1.16-svn
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Uploading
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


The upload interface will only accept files compliant with wgFileExtensions
*even* if wgCheckFileExtensions is set to false. The problem is in the file:

/skins/common/upload.js


My suggested fix is to make wgCheckFileExtensions a "<script> global" in
includes/Skin.php or similar and then check it's value before doing the actual
file extension checking in upload.js



My System:

Ubuntu 10.04 x64
Mediawiki 1.16wmf4 (r66440)
PHP 5.3.2-1ubuntu4.1 (apache2handler)
MySQL 5.1.41-3ubuntu12

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