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

Update breaking CSP Policies #933

Closed
slaweknaczynski opened this issue May 25, 2023 · 2 comments · Fixed by #935
Closed

Update breaking CSP Policies #933

slaweknaczynski opened this issue May 25, 2023 · 2 comments · Fixed by #935

Comments

@slaweknaczynski
Copy link

Expected Behavior

Video loads and works

Actual Behavior

Getting CSP policy errors since player.js was updated:
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive
Should be working without 'unsafe-eval'

Steps to Reproduce

Apply CSP policy and don't allow 'unsafe-eval'. This behaviour started since this update - wasn't an issue before. Allow 'unsafe-eval' is bad for security and player.js shouldn't rely on it.

@pjaws
Copy link

pjaws commented May 25, 2023

Suffering broken pages today as a result of this update 😢

@rkrishnan8594
Copy link
Contributor

We're aware of this issue and are working on a fix - if possible, please use version 2.19.0 until a patch is published.

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

Successfully merging a pull request may close this issue.

3 participants