Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Headers middleware: support Content-Security-Policy-Report-Only #10709

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented May 10, 2024

What does this PR do?

Add a contentSecurityPolicyReportOnly option that sets this header.

Motivation

Resolves #8091.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

@mmatur
Copy link
Member

mmatur commented May 13, 2024

Hi @SpecLad,

Thanks for your contribution. Could you please rebase your PR on the master branch?

@mmatur mmatur removed the area/webui label May 13, 2024
@ldez ldez removed this from the next milestone May 13, 2024
@SpecLad SpecLad changed the base branch from v3.0 to master May 13, 2024 23:19
@SpecLad
Copy link
Contributor Author

SpecLad commented May 13, 2024

Could you please rebase your PR on the master branch?

Sure; done.

Copy link
Contributor

@sdelicata sdelicata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@rtribotte rtribotte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add a `contentSecurityPolicyReportOnly` option that sets this header.
@traefiker traefiker merged commit b37aaea into traefik:master Jun 7, 2024
22 checks passed
@SpecLad SpecLad deleted the csp-report-only branch June 8, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Content-Security-Policy-Report-Only
6 participants