Details
Description
One of easy wins for content security policy would be a support of nonce for inline JavaScript header injections.
Criteria
- Set up some kind of request unique nonce provider
- Make it possible for JavaScript header items to have provided nonce
- Add provided nonce to the `Content-Security-Policy: script-src` header
See in code:
org.apache.wicket.core.util.string.JavaScriptUtils#writeOpenTag
org.apache.wicket.markup.head.JavaScriptContentHeaderItem#render
Attachments
Issue Links
- is a child of
-
WICKET-5406 Better Content Security Policy Support
- Resolved
- is depended upon by
-
WICKET-6703 Eliminate window.eval from wicket-ajax-jquery
- Closed
- relates to
-
WICKET-6686 Clean up header items infrastructure (conditionals)
- Open
-
WICKET-6688 Add alternative RPC response to substitute the append java script in ajax response
- Open
-
WICKET-6321 Support Integrity and Crossorigin attributes for JavaScriptUrlReferenceHeaderItem
- Resolved
-
WICKET-6687 Cleanup the code from attribute inline styles and attribute inline scripts
- Resolved
- links to