SVG in core image component used in XF - doesn't load.
Hi all,
Facing an issue, with svgs.
Scenario: using image component in XF, with an SVG.
the image loads fine in author and view as published. but when checked in dispatcher it doesn't load.
The path is -
/content/experience-fragments/abc/en/site/header/master/_jcr_content/root/image.coreimg.svg/1724821385787/abc-logo.svg
it gets a 404 in the network console.
I tried all the usual dispatcher allow rules. nothing works.
/0152 { /type "deny" /method '(POST|OPTIONS)' /url "/content/_cq_graphql/*/endpoint.json" }
/0153 { /type "allow" /method "GET" /url "/content/experience-fragments/.*/.*\\.svg"}
/0107 {/type "allow" /method "GET" /url "/content/experience-fragments/.*/.*\\.svg"}
/0021 { /type "allow" /path "/content/experience-fragments/.*/_jcr_content/.*" /selectors '(img|coreimg)' /method "GET" /extension '(png|svg|gif|jpg|jpeg)' /suffix '.*(jpg|jpeg|png|gif|svg)' }
/0021 { /type "allow" /path "/content/experience-fragments/*" /method "GET" /extension '(png|svg|gif|jpg|jpeg)' }
/0021 { /type "allow" /url "/content/experience-fragments/*" /extension '(png|svg|gif|jpg|jpeg)' }
Can anyone shed some light on this? is there some other thing im missing? is there a limitation with AEM?
Thanks in advance.