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

--- Comment #2 from Derk-Jan Hartman <[email protected]> 2010-04-22 01:07:40 
CEST ---
The problem here is with verifyExtension() in includes/upload/UploadBase.php
Basically it allows you to upload unknown file types in certain situations.

When the mime type of the new file is unknown, and when the existing file is
not on the list of "recognizable filteypes". ("passing file with unknown
detected mime type; unrecognized extension '$extension', can't verify\n")

The second case is when we don't know the extension of a mimetype that we do
know. ( " no file extension known for mime type $mime, passing file\n")

I don't see a good reason for these exceptions. Why do we have them ?
Especially the latter is clearly problematic as the x-ms-bmp issue has shown.
It creates trouble if our list of mime information or fileextensions isn't
complete.

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