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
Add Permissions-Policy and Document-Policy support #65
Add Permissions-Policy and Document-Policy support #65
Conversation
Would love to see this being added; do you know of anyone that could merge this @bazzadp ? |
I see @theacodes has writing access to this repo; would you be up for reviewing this PR? It's an important feature for Flask Talisman to stay up to date on the newest security related headers! I took a quick look, and to me the implementation of @bazzadp is pretty neat. I think it's ready to merge as it is! |
Closing this as this has been merged and merged into the fork discussed in #78 and released in v8.0.0, which has been uploaded to PyPi |
Feature-Policy has been split into Permissions-Policy and Document-Policy. Although these are not supported in browsers yet, it is likely that they will be at some point in the not too distant future.
In addition the popular SecurityHeaders.com tool has started flagging when Permissions-Policy header is not being sent which is likely to increase interest in publishing a Permissions-Policy alongside the original Feature-Policy header.
This PR adds support for both headers, though does not set them by default, nor does it retire Feature-Policy.