Running 2.6.2983 on OS Sierra.
I'm noticing that some of my SVG files when uploading are going from 50kb to 1kb and then appear completely blank when trying to view them. Does anyone have a clue why this would be happening?
Thanks,
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this communityRunning 2.6.2983 on OS Sierra.
I'm noticing that some of my SVG files when uploading are going from 50kb to 1kb and then appear completely blank when trying to view them. Does anyone have a clue why this would be happening?
Thanks,
Half-bug, half side-effect/undesired behavior for SVG sanitization that got added in Craft 2.6.2982 for SVGs that use embedded data.
The next release of Craft (post 2.6.2983) adds a sanitizeSvgUploads
config setting (true
by default) that you will be able to set to false to disable SVG sanitization.