Skip to content

Feature Request: Add support for CSP report-to directive #170

@yatish-wk

Description

@yatish-wk

Add support for report-to directive

Currently supported report-uri is marked as deprecated on MDN. This feature requires is to add support to specify a report-to directive ( see report-to on MDN ).

Minimal Code Sample

User should be able to specify either report-to or report-uri or both.

SecureHeadersMiddlewareBuilder.UseContentSecurityPolicy(reportUri: "https://myreport-endpoint", reportTo: "endpoint-name");

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions