New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 708167 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Buried. Ping if important.
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

CSPDirectiveList::checkSource ignores report-only mode

Project Member Reported by treib@chromium.org, Apr 4 2017

Issue description

CSPDirectiveList::checkSource seems to ignore ContentSecurityPolicyHeaderTypeReport, and always works as if it were in Enforce mode. This is different from CSPDirectiveList::checkSourceAndReportViolation, which, if the request in question isn't allowed, returns "denyIfEnforcingPolicy()" rather than "false".

Discovered on https://codereview.chromium.org/2784753003/, some more details in the comments there.
 

Sign in to add a comment