Badgerati / Pode

Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
https://badgerati.github.io/Pode
MIT License
866 stars 92 forks source link

Adds new/missing CSP parameters in security headers #1409

Closed Badgerati closed 1 month ago

Badgerati commented 1 month ago

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:

Also added the following schemes:

And the following keywords:

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