You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using jquery.terminal for quite a while now, but since 2.22.0 it stopped working. I got an CSP error in chrome:
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'
I narrowed it down to this commit 8b2d6bf and this line added:
Issue summary
Hi,
I'm using jquery.terminal for quite a while now, but since 2.22.0 it stopped working. I got an CSP error in chrome:
I narrowed it down to this commit 8b2d6bf and this line added:
jquery.terminal/js/jquery.terminal.js
Line 1215 in 9c28d59
This won't be executed if the CSP doesn't contain
unsafe-eval
in thescript-src
CSP.Steps to reproduce
Set a CSP with
script-src 'self'
and run the terminal.Browser and OS
Chrome 88 on Windows 10
The text was updated successfully, but these errors were encountered: