Incorrect content/mime-type on S3 SVG upload I've setup an S3 asset source for images and it's working well for everything but SVGs.

SVGs are uploaded with the default content-type of binary/octet-stream where the correct content-type would be image/svg+xml.

Am I doing something wrong or is this a bug?
Your SVG file is probably missing the the XML declaration at the top (&lt;?xml version="1.0" encoding="UTF-8"?&gt;). PHP's FileInfo detects XML files (which SVG is) without that declaration as text/html files.

Lots of SVG editors/exporters will (annoyingly) omit that.