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

Bawolff <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|Incorrect detection of mime |Error message for file with
                   |type and extension while    |multiple extensions, with
                   |uploading.                  |one of them blacklisted, is
                   |                            |confusing.

--- Comment #1 from Bawolff <[email protected]> 2011-01-19 21:10:00 UTC ---
As Platonides pointed out in irc, this is intentional behaviour due to Apache
taking secondary extenions sometimes into account.

However, the error message should be better. For a file like the reporter's
above (foo.php.zip), we detect that the .php is blacklisted, so output the bad
filetype message, but when outputting that message, we use the final extension
in it (.zip), which is confusing to the user.

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