Get rid of all Javascripts Blocks that are agains the unsafe-eval CSP Rule.
As example the handlebar.js.
Show how that could be possible.
This seems rather hard to accomplish due to our existing JS code base. As a first step I've added a hardening to jQuery that makes the unsafe-eval in jQuery a non-issue at least: https://github.com/nextcloud/server/pull/3874
So on my system a quick grep for handlebars compile gives me:
Now we can start doing 2 things.
@nextcloud/javascript your opinion is appreciated
I prefer consistency over having multiple concurrent solutions in place. Voting for 2.
We have a stricter CSP in place now. Let me close this.
Most helpful comment
I prefer consistency over having multiple concurrent solutions in place. Voting for 2.