Hi, I have a file on this path http://localhost:4502/assetdetails.html/content/dam/we-retail/en/activities/hiking/hiking_5.jpg, when I try to access the file by direct link like this: http://localhost:4502/content/dam/we-retail/en/activities/hiking/hiking_5.jpg the file is download but It should open on browser windows not do download direct. What are happening? The response header might be wrong how can I fix it?
This is confirmed - on AEM 6.2 - the URL opened the image in the browser. In AEM 6.4 - it downloads the file. Checking to see if this is normal behavior or a bug.
Our support team is investigating this. I will post back what they say.
Sorry, I don't understand, the support team is not investigating?
This was a security fix at Sling level, the disposition filter has been added to force this behavior. See .
To undo this behavior (not recommended), you can disable the component.
 SLING-4883Extend content disposition filter protection to jcr:data
So, ashu4pma, what you recommend to do? I need have a direct link for a .mp4 video hosted on /content/dam for exemplo and it should play direct browser like this https://www.w3schools.com/html/mov_bbb.mp4, just disable the Content Disposition Filter?
What happend if I just uncheck "Enable For All Resource Paths", will it have any side effects?
Yes uncheck the checkbox(Enable Content Disposition for all paths).
Is there any update on this. I observe the same behavior in 6.4 as well.