-
Notifications
You must be signed in to change notification settings - Fork 189
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
/planet won't load images due to CSP #1257
Comments
Hey, can I work on this issue? |
@zg3d all yours. |
@zg3d awesome, thank you for confirming. |
@humphd the code in app.js in the current repo is accurate however when i check with a csp Evaluator in the current dev build. The https src in image-src is not shown or used ending up with the above console error. telescope/src/backend/web/app.js Line 31 in b3ea971
|
We should probably fix up our CSP in a few ways. These online evaluators flag a couple of different things. @zg3d do you want to work on this or leave for someone else? |
Ill leave it for someone else as I am unsure of the interaction here. |
We tweaked our Content Security Policy recently, and it's causing the
/planet
front-end to break for all images.STR:
I get the following errors in the console:
In Chrome:
In Firefox:
Let's update our
img-src
directive to be less restrictive.The text was updated successfully, but these errors were encountered: