Solved
Content Disposition on AEM as Cloud
I am trying to open the PDFs in browser instead of downloading the PDF.
So far I have configured the ContentDispositionFilter with the below properties and it works perfectly fine.
{
"sling.content.disposition.paths": "/content/*:application/pdf",
"sling.content.disposition.all.paths": "false"
}When I check the same functionality on AEM as Cloud I see the below additional headers are added and the PDF is downloaded.
content-disposition:
attachment; filename="Z571_MPS130_01eA.pdf"; filename*=UTF-8''Z571_MPS130_01eA.pdf
Can anyone point out what am I missing here and where these additional headers are getting added?
Thanks!

