Add Content Disposition inline for specific assets

Avatar

Avatar

girotrapank

Avatar

girotrapank

girotrapank

07-05-2020

I have requirement where i do need to add Content Disposition as inline for some specific paths. For this,

I have added my component implementing Filter interface, i can see its being called (last in chain) and adding content disposition however in final rendering, its being deleted. I think some OOTB implementation is overriding content disposition. Does anyone know any other way to achieve this use case?

to add Con
View Entire Topic

Avatar

Avatar

Andrew_Khoury

Employee

Avatar

Andrew_Khoury

Employee

Andrew_Khoury
Employee

07-05-2020

This might be caused by a known issue in Apache Sling https://issues.apache.org/jira/browse/SLING-8469

I would suggest to update to AEM 6.5 service pack 3 (6.5.3) as it includes the fix.