https://bugzilla.wikimedia.org/show_bug.cgi?id=4947
--- Comment #29 from Brion Vibber <[email protected]> 2011-11-17 00:21:00 UTC --- Testing the patch on current trunk... does not work for me. My LocalSettings.php contains: $wgFileExtensions[] = 'svg'; $wgFileExtensions[] = 'svgz'; Selecting a gzipped SVG image I've saved as .svgz lets me go through initial upload, but kicks me back with this error: "File extension ".svgz" does not match the detected MIME type of the file (image/svg+xml)." Renaming the same gzipped file to ".svg" extension (incorrect) allows me to upload it. It rasterizes via ImageMagick, but if I load the image directly into Firefox I get an XML error because the file is actually binary gzip data: XML Parsing Error: not well-formed Location: http://stormcloud.local/trunk/images/e/ef/Wrong.svg Line Number 1, Column 1:\uffff Renaming the uncompressed original to ".svgz" extension (also incorrect) fails like the real .svgz file did with: File extension ".svgz" does not match the detected MIME type of the file (image/svg+xml). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
