Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External images fail to load due to CSP #126

Closed
kc853 opened this issue May 1, 2020 · 2 comments
Closed

External images fail to load due to CSP #126

kc853 opened this issue May 1, 2020 · 2 comments

Comments

@kc853
Copy link

kc853 commented May 1, 2020

Running cms_pico 1.0.5 on dockerized NC18.0.4.

After playing around for a day I realized, that external images can't be loaded due to CSP.

Refused to load the image 'https://x.png' because it violates the following Content Security Policy directive: "img-src 'self' data: blob:".

Is there a way to fix that without touching the container?

Regards

@PhrozenByte
Copy link
Collaborator

This is intended behaviour. You can't include external contents due to security reasons. Also see #99 (comment)

@kc853
Copy link
Author

kc853 commented May 1, 2020

OK. Understand that. Please point that out at the cms-pico page at Nextcloud apps.
https://apps.nextcloud.com/apps/cms_pico

@kc853 kc853 closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants