Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
yatish-wk opened this issue Feb 25, 2025 · 0 comments
Open

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

yatish-wk opened this issue Feb 25, 2025 · 0 comments

Comments

@yatish-wk
Copy link

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: "https://myreport-to-endpoint");
@yatish-wk yatish-wk changed the title Feature Request: Add support for report-to directive Feature Request: Add support for CSP report-to directive Feb 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants