-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read the csp meta's tag nonce attribute and fallback to the content a…
…ttribute This PR allows Turbo to support rails/rails#51729 to allow using the `nonce` attribute as well as the `content` attribute. As described in rails/rails#51580 (comment) this makes it harder to extract the nonce value. Removed getMetaElement from public API as well.
- Loading branch information
1 parent
9fb05e3
commit f0aaca3
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters