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

CSP (Content Security Policy) in Ext.js issue #265

Open
rahulb141 opened this issue Nov 19, 2021 · 0 comments
Open

CSP (Content Security Policy) in Ext.js issue #265

rahulb141 opened this issue Nov 19, 2021 · 0 comments

Comments

@rahulb141
Copy link

I am getting security risk issue when using extjs within my project, specifically "eval()" and "Function.prototype.constructor.apply()" is flagged and the alternative to it is using functions, which is again flagged as a risk, due to which I can't make it work.

I am attaching some errors I got before (using eval) and after (using functions).

Please suggest alternatives as using unsafe-eval is not the solution.

I have also tried the latest version of EXT-Js but It also contains new Function () and Function.prototype.constructor.apply() which is also blocked by CS

using functions
using functions

using eval
using eval
P.

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

1 participant