https://bugzilla.wikimedia.org/show_bug.cgi?id=41174
--- Comment #24 from Derk-Jan Hartman <[email protected]> 2012-10-25 13:45:25 UTC --- (In reply to comment #23) > Actually, MediaWiki has little respect to Content-Type. It is dropped on > upload, and generated from a file name suffix (extension) on download. In general MediaWiki doesn't rely on the suffix either. For the major filetypes that it supports it looks at the content to determine content-type. The suffix is only used for consistency with expectations of both humans and 'dumb' clients, because most of the rest of the world uses suffix and content-type with hardly any double checking. For MediaWiki it matters what is INSIDE the file, not how that file is advertised. But as I stated earlier, it seems that XML files without xmlns are valid XML files, so i'm not so worried about the content-type issue anymore. My main concern now is that these are not valid SVG files and what would be required for accepting non-valid files, without impacting functionality of other SVG files (or security). -- 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
