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

Further production fixex - empty hash, upgrade Django #4119

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

jwhitlock
Copy link
Member

next 14.0.0 first adds an empty <style> tag, and then populates it. This is OK with a nonce, but fails with a hash. Add the hash for an empty element to avoid the spurious errors.

Try updating to Django 4.2.7 again, and see if the issue returns.

next 14.0.0 adds an empty style element before populating the content.
Add the hash for an empty element to avoid spurious CSP warnings.
@jwhitlock jwhitlock merged commit 1d286a7 into v2023.11.08.7 Nov 15, 2023
3 checks passed
@jwhitlock jwhitlock deleted the prod-fix-2023.11.08.7 branch November 15, 2023 06:02
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

Successfully merging this pull request may close these issues.

1 participant