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

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff...@gmail.com
            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 <bawolff...@gmail.com> 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to