Add Content Disposition inline for specific assets

Avatar

Avatar
Level 1
girotrapank
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
girotrapank
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
girotrapank
Level 1

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
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.

Answers (0)