Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.6.1
-
None
Description
It's impossible to configure wicket with strict CSP Policy without unsafe-eval and keep using AJAX, because most of AJAX responses contain evaluations and header contributions which cause window.eval to be called.
Window eval can be replaced with DOMEval with nonce approach. DOM eval is available in jQuery as globalEval.
Attachments
Issue Links
- causes
-
WICKET-6953 JavaScriptDeferHeaderResponse not working correctly for AJAX requests
- Resolved
- depends upon
-
WICKET-6682 Improve JavaScriptContentHeaderItem and JavaScriptUtils to support nonce
- Resolved
- relates to
-
WICKET-6688 Add alternative RPC response to substitute the append java script in ajax response
- Open
- links to