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

Adds new/missing CSP parameters in security headers #1409

Merged
merged 5 commits into from
Oct 16, 2024

Conversation

Badgerati
Copy link
Owner

Description of the Change

Found while updating a library in Pode.Web, but there have been some new attributes added for the Content-Security-Policy header - as well as some pre-existing ones that needed adding:

  • fenched-frame-src
  • prefetch-src
  • script-src-attr
  • script-src-elem
  • style-src-attr
  • style-src-elem
  • worker-src
  • report-uri

Also added the following schemes:

  • blob
  • data
  • mediastream
  • ftp
  • mailto
  • tel
  • filesystem

And the following keywords:

  • strict-dynamic
  • report-sample
  • inline-speculation-rules
  • unsafe-hashes
  • wasm-unsafe-eval

Also added a -ReportOnly switch to toggle using Content-Security-Policy-Report-Only

@Badgerati Badgerati added this to the 2.12.0 milestone Oct 7, 2024
@Badgerati Badgerati self-assigned this Oct 7, 2024
@Badgerati Badgerati merged commit 696cc43 into develop Oct 16, 2024
25 checks passed
@Badgerati Badgerati deleted the missing-csp-params branch October 16, 2024 08:40
@Badgerati Badgerati modified the milestones: 2.12.0, 2.11.1 Oct 18, 2024
@Badgerati Badgerati changed the title Adds new/missing CSP parmeters in security headers Adds new/missing CSP parameters in security headers Nov 2, 2024
@Badgerati Badgerati mentioned this pull request Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant