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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to