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

All: enable CSP report header on production sites #473

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

timmywil
Copy link
Member

@timmywil timmywil commented Dec 7, 2024

Ref jquery/infrastructure-puppet#54

I just noticed a CSP violation on all wordpress content sites. It seems any sites generated with Wordpress 6.7 have an added style tag:

<style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style>

I'm actually fine not adding an exception for this as it doesn't seem to make a difference on our sites.

Edit: I found a way to omit the style tag.

@timmywil timmywil requested a review from Krinkle December 7, 2024 18:59
@timmywil timmywil merged commit 1a47589 into jquery:main Dec 9, 2024
5 checks passed
@timmywil timmywil deleted the csp branch December 9, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants