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

Document ETag compatible CSP nonce generator [ci skip] #44830

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

skipkayhil
Copy link
Member

@skipkayhil skipkayhil commented Apr 2, 2022

Summary

The content_security_policy initializer template was updated in 40b25fd
to suggest a method compatible with conditional GET requests by default,
so this updates the security documentation to describe the difference
between the original value and the "etag compatible" value and when
they should be used.

@rails-bot rails-bot bot added the docs label Apr 2, 2022
guides/source/security.md Show resolved Hide resolved
The content_security_policy initializer template was updated in 40b25fd
to suggest a method compatible with conditional GET requests by default,
so this updates the security documentation to describe the difference
between the original value and the "etag compatible" value and when
they should be used.
@skipkayhil skipkayhil changed the title docs: match template in nonce generator example [ci skip] Document ETag compatible CSP nonce generator [ci skip] Apr 5, 2022
Copy link
Member

@p8 p8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Thanks @skipkayhil

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

Successfully merging this pull request may close these issues.

2 participants