‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Cache\NonceValueSubstitution Class Reference

Public Member Functions

 substituteNonce (array $context)
 

Detailed Description

Substitutes a cached nonce value with the actual nonce value that is valid for the current request, and which is issued as HTTP CSP header during the frontend rendering process.

Definition at line 23 of file NonceValueSubstitution.php.

Member Function Documentation

◆ substituteNonce()

TYPO3\CMS\Frontend\Cache\NonceValueSubstitution::substituteNonce ( array  $context)
Parameters
array{content‪string, nonce: string} $context

Definition at line 28 of file NonceValueSubstitution.php.

References $GLOBALS.