https://bugzilla.wikimedia.org/show_bug.cgi?id=54181
--- Comment #20 from Andre Klapper <[email protected]> --- More complicated due to IE's MIME sniffing, as csteipp pointed out in Gerrit (thanks!): http://msdn.microsoft.com/en-us/library/ms775147.aspx http://www.adambarth.com/papers/2009/barth-caballero-song.pdf Some test cases (taken from heise.de): File extension = PNG, content type = image/png, file signature = PNG http://www.heise.de/security/dienste/browsercheck/demos/ie/msniff/security_logo_en.png File extension = JPG, content type = image/png, file signature = PNG http://www.heise.de/security/dienste/browsercheck/demos/ie/msniff/security_logo_en.jpg File extension = BMP, content type = image/bmp (but should be image/x-ms-bmp instead), file signature = BMP http://www.heise.de/security/dienste/browsercheck/demos/ie/msniff/security_logo_en.bmp -- 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
