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 permissionsPolicy header in HeadersConfigurers #9262
Comments
Thanks @kris2kris. Instead of replacing feature-policy, we should allow both feature-policy and permissions-policy for backwards compatibility. Are you interested in creating a pull request to add the feature-policy header to the configurer? |
Hi @eleftherias I was not sure between replace or add because it could be a security problem if people are not aware that their headers are not correct... but I'm ok to not remove feature-policy |
Thanks @kris2kris! We can deprecate feature-policy and add a warning to let users know that they should use permissions-policy instead. Feel free to reach out if you have any questions. |
Closed via #9265 |
Hello,
The http header Feature-Policy has been renamed to Permissions-Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy).
HeadersConfigurers must be changed to add the correct header.
Kind regards
Chris
The text was updated successfully, but these errors were encountered: