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

unsafe-eval error #43

Open
nanandn opened this issue Apr 3, 2016 · 1 comment
Open

unsafe-eval error #43

nanandn opened this issue Apr 3, 2016 · 1 comment

Comments

@nanandn
Copy link

nanandn commented Apr 3, 2016

Hi

In my application, I have content security policy set (I have to) and it does not allow 'unsafe-eval'.
jspath gives me an error 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: "script-src 'self' 'unsafe-inline'".(…)"

I cannot change the CSP. Is there anyway to get around this error?

Anand

@dfilatov
Copy link
Owner

dfilatov commented Apr 7, 2016

Looks like it's not possible with this rule.

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

No branches or pull requests

2 participants