You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by GitBox <gi...@apache.org> on 2020/02/01 10:14:04 UTC
[GitHub] [wicket] solomax commented on issue #399: WICKET-6727: Configurable
Content-Security-Policy
solomax commented on issue #399: WICKET-6727: Configurable Content-Security-Policy
URL: https://github.com/apache/wicket/pull/399#issuecomment-581015004
Hello @papegaaij,
I found some weird behavior with CSP
In my app I'm setting `reporting csp` as follows: `getCsp().reporting().strict()`
Then I'm adding some images to allowed:
`getCsp().reporting().add(CSPDirective.IMG_SRC, "URL HERE")`
as a result I _surprisingly_ have both `Content-Security-Policy` and `Content-Security-Policy-Report-Only` set
images are allowed in `Content-Security-Policy-Report-Only` but blocked by `Content-Security-Policy`
I do expect blocking CSP will not be set or rules should be shared ....
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services