Skip to content

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

@rahulb141

Description

@rahulb141

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions