Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Images in the epub are not showing in MAC system browsers #2

Open
techvedikasolutions opened this issue Jul 4, 2018 · 4 comments
Open

Comments

@techvedikasolutions
Copy link

Hi,We are getting following issue while loading the Epub in the MAC system browsers.Tested in safari and chrome as well.Its working fine in other OS system browsers.
Error:
Refused to load blob:https://domain.com/6a628a22-9531-48e1-b573-a1b16b3719b8 because it does not appear in the img-src directive of the Content Security Policy.

Please any idea about this issues, let me know.

Thanks.

@androidovshchik
Copy link
Owner

Hi
This web page shows 404 error

@techvedikasolutions
Copy link
Author

techvedikasolutions commented Jul 4, 2018

Thanks for your quick reply,Sorry I just given dummy website url..Any epub book does have images are not displayed in the MAC System.Getting that inline safe error for the image tag and one more info is we are loading the pubs from s3 server.

@techvedikasolutions
Copy link
Author

techvedikasolutions commented Jul 4, 2018

Hi,can you please tell me is there any content-security policy set in the epub viewer plugin.I added this tag in my code to allow the blob data to show in img-src directive.
<meta http-equiv="Content-Security-Policy" content="img-src 'self' data: https: blob:" >

Even though I'm getting the same error.

Can you please give me any idea about this issue.

@androidovshchik
Copy link
Owner

To be honest i have no idea now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants