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

Typo in HTTP-Header Permission-Policy #7896

Closed
ras-martin opened this issue May 7, 2021 · 2 comments
Closed

Typo in HTTP-Header Permission-Policy #7896

ras-martin opened this issue May 7, 2021 · 2 comments
Labels

Comments

@ras-martin
Copy link

Description

In cms/src/web/Application.php on line 165 the Permissions Policy HTTP-Header is added. But there is a typo in the header name. The correct name is Permissions-Policy, not Permission-Policy. See https://www.w3.org/TR/permissions-policy-1/#examples.

Steps to reproduce

No special steps to reproduce. Check the HTTP-Headers of a request to Craft CMS installation.

Additional info

  • Craft version: 3.6.13 (but earlier Versions should have this issue as well)
  • PHP version: 8
@brandonkelly
Copy link
Member

🤦🏻 Thanks for pointing that out! Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 3.6.14 is out now with that typo fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants