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

Fix nonce attributes that were accidentally broken in PR #139 #143

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

rmacklin
Copy link
Contributor

@rmacklin rmacklin commented Jul 15, 2022

Related issues

Addresses #139 (review)

Resolves #142 (@agrieser can you please confirm?)

Summary

It seems that #139 accidentally swapped content_security_policy_nonce with content_security_policy, so we're switching them back to call content_security_policy_nonce.

Other details

Ideally we should backfill test coverage that exercises this properly so that CI would catch this type of bug. I don't currently have the bandwidth to do so, but hopefully we can still accept this fix and someone can add that as a follow-up.

It seems that 243fbfb accidentally
swapped `content_security_policy_nonce` with `content_security_policy`,
so we're switching them back to call `content_security_policy_nonce`.
@rmacklin rmacklin changed the title Fix nonce attributes that were accidentally broken in 243fbfb Fix nonce attributes that were accidentally broken in PR #139 Jul 15, 2022
@dhh dhh merged commit bd629d6 into rails:main Jul 15, 2022
@rmacklin rmacklin deleted the fix-nonce-attributes branch July 15, 2022 19:17
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.

Updating from 1.1.3 to 1.1.4 no longer executes any stimulus code (Rails 7)
2 participants