https://bugzilla.wikimedia.org/show_bug.cgi?id=18803
--- Comment #2 from Ahmad Sherif <[email protected]> 2009-05-15 19:30:30 UTC --- Created an attachment (id=6123) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6123) proposed patch (In reply to comment #0) > File file type is being detected as image/jp2, but this shouldn't make it past > upload since it shouldn't match '.jpg' file extension... > I think this is because there is no mime type entry for jpeg2000 format in mime.types file. I made a patch anyway. (In reply to comment #1) > Probably a more general bug, for example [[hu:File:China.ogg]] is an mp3 file > with .ogg extension. > IMHO, this is because 'audio/mp3' is the main mime type in mime.info and we use 'audio/mpeg' in mime.types instead of it, so MimeMagic::isMatchingExtension() returns NULL (which means continue) instead of false. It only needs a switch in one of the files. -- 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
