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

Evaluate/updatePolicyManager #358

Open
martijnc opened this issue Jul 8, 2024 · 1 comment
Open

Evaluate/updatePolicyManager #358

martijnc opened this issue Jul 8, 2024 · 1 comment

Comments

@martijnc
Copy link
Contributor

martijnc commented Jul 8, 2024

While working on #357 I noticed the UA based adaptive directive logic is outdated and it may need an update.

According to MDN's CSP compatibility table, most browsers have caught up to CSP Level 3, with some minor differences.

With current browser support for all CSP levels, the UA based adaptive approach may no longer be needed altogether?

@Seldaek
Copy link
Member

Seldaek commented Sep 23, 2024

I am not sure about that.. It indeed seems to be a bit too rudimentary, either we should check exact browser versions or we should probably drop this as all latest browsers are fine with Level 3. I guess the question is what's the risk? If directives are ignored it's probably fine, as long as it doesn't break older browsers. Level1 fallback stuff I would probably still keep it tho as it otherwise makes sites unusable on older browsers if you include nonce etc.

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

No branches or pull requests

2 participants