Design Importer issue with SVG objects in AEM 6.3

Avatar

Avatar

Prahlad

Avatar

Prahlad

Prahlad

16-09-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

aemmarc

Employee

Avatar

aemmarc

Employee

aemmarc
Employee

16-09-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.

Answers (3)

Answers (3)

Avatar

Avatar

Yogesh_V_Mulajk

Avatar

Yogesh_V_Mulajk

Yogesh_V_Mulajk

17-10-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 ?

Avatar

Avatar

Prahlad

Avatar

Prahlad

Prahlad

18-09-2019

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

Avatar

Avatar

Prahlad

Avatar

Prahlad

Prahlad

16-09-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.