3

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,

1

1 Answer 1

4

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.

1
  • Nice to see it fixed so quickly
    – zedjay72
    Commented Jul 23, 2017 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.