77098[SECURITY] Disallow introducing Yaml placeholders in user interface
Commit message
Review
-
Code review CR +2 Done
- Oliver Hader +2
-
Verified V +2 Done
- Oliver Hader +2
Issues 1
Files 8
- typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php+1 −1
- typo3/sysext/core/Classes/Configuration/Loader/Exception/YamlPlaceholderException.phpnew+22 −0
- typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php+2 −1
- typo3/sysext/core/Classes/Configuration/Loader/YamlPlaceholderGuard.phpnew+102 −0
- typo3/sysext/core/Classes/Configuration/SiteConfiguration.php+30 −1
- typo3/sysext/core/Tests/Unit/Configuration/Fixtures/SiteConfigs/config2.yaml+1 −0
- typo3/sysext/core/Tests/Unit/Configuration/Fixtures/SiteConfigs/config2_expected.yaml+1 −0
- typo3/sysext/core/Tests/Unit/Configuration/SiteConfigurationTest.php+49 −2