Summary: Uploads fail with !$wgStrictFileExtensions and
                    non-preferred extension
           Product: MediaWiki
           Version: 1.16
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: Normal
         Component: Uploading


1. Set $wgCheckFileExtensions to true (the default is already true).
2. Set $wgStrictFileExtensions to false (the default is true).
3. Make sure $wgFileExtensions is not empty (by default it's not empty)
4. Attempt to upload a file with an extension not in the preferred
$wgFileExtensions list (and not blacklisted) such as "" for example.


The upload form does not accept any files with extensions other than those in
the $wgFileExtensions array.


When $wgStrictFileExtensions is set to false, all uploads that are not
blacklisted should be accepted.


Affects 1.16 release.  The trunk version also appears to be affected.

Patches are attached for both REL1_16 and trunk.

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