UTF-8 encoded SVG with BOM are detected as text/plain
When attaching a UTF-8 encoded SVG file with BOM to an issue- or wiki-page, this file is classified as text/plain instead of img/svg+xml and is therefore not displayed. Without BOM everything works as expected.
Here an example:
anchor icon (UTF-8 without BOM)
anchor icon (UTF-8 with BOM)
This looks like a BUG in the mime-type detection, isn't it?
Edited by Patrick Gratz