Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Why PDF embed url not working in AEM 6.4.4 with PDF plug-in , It was working in AEM 6.2

CodeMukeshJha
Level 2
Level 2

Why PDF embed url not working in AEM 6.4.4 with PDF plug-in , It was working in AEM 6.2

We are migrating AEM instance from 6.2 to 6.4 . We found pdf preview stopped working in 6.4 ,when we hit complete url , its downloading .

Any Suggestions please ...

3 Replies
Tuhin_Ghosh
Level 7
Level 7

Hi CodeMukeshJha

This was a security fix at Sling level, the disposition filter has been added to force this behaviour. See [0].

To undo this behaviour (not recommended), you can disable the component[1].

Thanks

[0] SLING-4883Extend content disposition filter protection to jcr:data

[1] org.apache.sling.security.impl.ContentDispositionFilter

[2] http://localhost:4502/system/console/components/org.apache.sling.security.impl.ContentDispositionFil...

Thanks

Tuhin

CodeMukeshJha
Level 2
Level 2

Thanks for reply

Actually , We try to disable "ContentDispositionFilter" but it doesn't worked for US .

AEM version - 6.4 with SP4

Tuhin_Ghosh
Level 7
Level 7

Are you hitting the server directly or via dispatcher?

Thanks

Tuhin