security - jQuery-1.11.3 violates CSP eval policy. Is there a fix or workaround? -


i'm implementing header content-security-policy , cleaning (a mountain of) code go.

my main sticking point on javascript side of things jquery-1.11.3 violates eval policy:

uncaught evalerror: refused evaluate string javascript because 'unsafe-eval' not allowed source of script in following content security policy directive: "script-src 'self' 

is there way around other unsafe 'unsafe-eval' policy? seems me go down route negates large part of security header provides. devdatta akhawe points out, protection against code injection not protect against eval being used execute code when jquery used.

there doesn't seem awful lot on jquery forum , there is old.

surely somewhere has had make decisions concerning problem.

i'll have take no, then.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -