martin-g commented on code in PR #1341:
URL: https://github.com/apache/wicket/pull/1341#discussion_r2659900418
##########
wicket-core/src/main/java/org/apache/wicket/csp/CSPDirective.java:
##########
@@ -35,7 +35,12 @@ public enum CSPDirective
{
DEFAULT_SRC("default-src"),
SCRIPT_SRC("script-src"),
+ SCRIPT_SRC_ATTR("script-src-attr"),
+ SCRIPT_SRC_ELEM("script-src-elem"),
+ SRC("src"),
Review Comment:
I see no "src" directive at
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy#directives
In addition, there is no usage of this enum value in both test and non-test
code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]