Hi all,
I'm trying to upload some SVG files to the design studio. I have done so with no issues in the past. But now, when I try to do so, I get the warning "Potentially unsafe file blocked (IMAGE/SVG+XML)". Does anyone know what I can do to upload these files?
Thank you!
EDIT: Solved, there were extra properties on the generated SVG that needed to be deleted.
Solved! Go to Solution.
Updating to mark as resolved. Per OP:
Solved, there were extra properties on the generated SVG that needed to be deleted.
You can set the file extension (and thus server MIME type) to .xml. This sidesteps the quite bizarre security check.
Then embed using an <object> and override the MIME type.
<object type="image/svg+xml" data="https://pages.example.com/rs/123-XOR-456/images/testsvg1.xml" style="min-height:200px;">
</object>
Works in all browsers.