Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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

Avatar

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

Avatar

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

Avatar

Level 2

Thanks for reply

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

AEM version - 6.4 with SP4

Avatar

Level 7

Are you hitting the server directly or via dispatcher?

Thanks

Tuhin