-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Inject CSP nonce values only if CSP feature is enabled
Currently, CSP nonce values are used per default during the frontend rendering process (which basically would be fine). However, this also leads to the situation, that the page is not considered to be fully cached anymore (`INTincScript`). With this change, CSP nonce values are only used if the corresponding CSP feature is enabled for the frontend scope. Resolves: #100886 Releases: main, 12.4 Change-Id: I874b16a2c3f4791bfa4b0e9eb508c97b5485f1d0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79073 Tested-by: core-ci <typo3@b13.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
- Loading branch information
1 parent
745aae4
commit bd4980f
Showing
2 changed files
with
7 additions
and
5 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