Design Importer issue with SVG objects in AEM 6.3 | Community
Skip to main content
Prahlad
Level 2
September 16, 2019
Solved

Design Importer issue with SVG objects in AEM 6.3

  • September 16, 2019
  • 4 replies
  • 2506 views

Hi,

We have been using design importer to create interactive pages using SVG objects in AEM 6.1. We are now migrating from 6.1 to AEM 6.3 and the zip files that we used in 6.1 are not working in a similar manner in AEM 6.3.  In 6.3 all SVG objects are getting downloaded instead of showing up on the page. Any suggestions on how this can be fixed?

Regards,

Prahlad

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aemmarc2

Yes.

SVG assets are not streamed by default as a security practice.

The mimetype image/svg-xml is blacklisted in the DAM Safe Binary Filter. So you'd need to remove it from the blacklist.

If it's still downloading you may need to disable the Apache Sling Content Disposition Filter -- but that's not recommended.

4 replies

aemmarc2Adobe EmployeeAccepted solution
Adobe Employee
September 16, 2019

Yes.

SVG assets are not streamed by default as a security practice.

The mimetype image/svg-xml is blacklisted in the DAM Safe Binary Filter. So you'd need to remove it from the blacklist.

If it's still downloading you may need to disable the Apache Sling Content Disposition Filter -- but that's not recommended.

Prahlad
PrahladAuthor
Level 2
September 16, 2019

I tried both options but no success. I can see DAM Safe Binary Filter config is not part of AEM 6.1 and Apache Sling Content Disposition Filter is also different.

Prahlad
PrahladAuthor
Level 2
September 18, 2019

Did not worked yesterday but when I checked back again today t is working. Thank you aemmarc for your tip.

October 18, 2019

By default txt/HTML and image/svg-xml are blacklist in DAM Safe Binary Filter(6.5) but I observed it allows view as well download of txt/HTML  file , so , as such there is no difference due to DAM Safe Binary filter configuration. So , is this expected behaviour ?