I am using svg objects in my project but it keep downloading in edit mode.
refer to this
I did know it blocked by DAM Safe Binary Filter(6.5), so I removed it. but it not working.
Then I disable the Content Disposition Filter it fixed, but looks like not a recommened soultion due to security purpose.
So I just wondering what would casue if it's disabled? or is there a alternative way?
This is a known security fix at Sling level, and the disposition filter is added to force this behavior. See .
To undo this behavior, you can disable the component  or allow the mime type.
: SLING-4883 Extend content disposition filter protection to jcr:data
To allow SVGs to be opened in a browser, you can follow below steps:-
- Open org.apache.sling.security.impl.ContentDispositionFilter configuration, and allow below mime type in Included Resource Paths & Content Types.
- Uncheck "Enable For All Resource Paths”.