Skip to content

Allow report-uri in meta tags. #278

@ScottHelme

Description

@ScottHelme

The current spec states that report-uri is not supported in policies delivered via meta tag. It would be beneficial if you're deploying a CSP in enforce, or report-only mode, to be able to monitor the effects of that policy on an ongoing and real-time basis.

There's no reason for the lack of support detailed in the spec, is it purely to prevent maliciously injected meta tags from creating high volumes of POST requests or are there other reasons?

This would also tie in with my other issue regarding CSPRO in meta tags: #277

You can catch the reports with the SecurityPolicyViolation events and dispatch them yourself, but that's a whole lot of work compared to simply setting the report-uri directive.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions