Task #87419
closed
Epic #87417: Integrate proper Content Security Policy (CSP) handling
Deprecate functionality used to add inline styles & scripts
Added by Oliver Hader about 6 years ago.
Updated almost 2 years ago.
Description
In order to avoid dynamically created styles & scripts in the TYPO3 backend, according functionality has to be deprecated and removed later.
$GLOBALS['TBE_STYLES']
DocumentTemplate::insertStylesAndJS
GeneralUtility::wrapJS
Insert StylesAndJS and DocumentTemplate is gone completely in TYPO3 v11. wrapJS can be looked at more closely. I think TBE_STYLES will be around for a whil.
- Target version changed from Candidate for Major Version to 12.0
- Status changed from New to On Hold
- Target version changed from 12.0 to 12.1
- Target version changed from 12.1 to 12.2
- Target version changed from 12.2 to 12.3
wrapJS
can be used with nonce="..."
attribute now - however, it might make sense to use a similar functionality for internal usages only (→ deprecate and hide this functionality)
- Target version changed from 12.3 to 12 LTS
- Related to Feature #100232: Load additional Backend CSS files via TYPO3_CONF_VARS added
- Status changed from On Hold to Closed
DocumentTemplate::insertStylesAndJS
is gone, TBE_STYLES
is about to be removed. wrapJS
still would stay as is.
Also available in: Atom
PDF