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
BedrockMission!

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

Avatar

Avatar
Validate 1
Level 2
CodeMukeshJha
Level 2

Likes

4 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
CodeMukeshJha
Level 2

Likes

4 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile
CodeMukeshJha
Level 2

04-07-2019

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 ...

Replies

Avatar

Avatar
Validate 1
Level 5
Tuhin_Ghosh
Level 5

Likes

36 likes

Total Posts

301 posts

Correct Reply

40 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 5
Tuhin_Ghosh
Level 5

Likes

36 likes

Total Posts

301 posts

Correct Reply

40 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Tuhin_Ghosh
Level 5

14-07-2019

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

Avatar
Validate 1
Level 2
CodeMukeshJha
Level 2

Likes

4 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
CodeMukeshJha
Level 2

Likes

4 likes

Total Posts

5 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile
CodeMukeshJha
Level 2

15-07-2019

Thanks for reply

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

AEM version - 6.4 with SP4

Avatar

Avatar
Validate 1
Level 5
Tuhin_Ghosh
Level 5

Likes

36 likes

Total Posts

301 posts

Correct Reply

40 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 5
Tuhin_Ghosh
Level 5

Likes

36 likes

Total Posts

301 posts

Correct Reply

40 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Tuhin_Ghosh
Level 5

16-07-2019

Are you hitting the server directly or via dispatcher?

Thanks

Tuhin