diff --git a/composer.lock b/composer.lock index 0f973a7d07e334cbc6b5592f73bd24d88382f9fa..f6ee442d6017a6975014322e6afa19fd8de9d1ee 100644 --- a/composer.lock +++ b/composer.lock @@ -8140,16 +8140,16 @@ }, { "name": "typo3/cms-styleguide", - "version": "11.5.0", + "version": "11.5.2", "source": { "type": "git", "url": "https://github.com/TYPO3/styleguide.git", - "reference": "494dd4605e6b459c165a24f8d9f8b15673e547f2" + "reference": "6a441433028e72b4b5913315fcb1551f2d29070f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/TYPO3/styleguide/zipball/494dd4605e6b459c165a24f8d9f8b15673e547f2", - "reference": "494dd4605e6b459c165a24f8d9f8b15673e547f2", + "url": "https://api.github.com/repos/TYPO3/styleguide/zipball/6a441433028e72b4b5913315fcb1551f2d29070f", + "reference": "6a441433028e72b4b5913315fcb1551f2d29070f", "shasum": "" }, "require-dev": { @@ -8158,13 +8158,12 @@ "codeception/module-cli": "^1.1", "codeception/module-webdriver": "^1.1", "phpstan/phpstan": "^0.12.37", - "typo3/cms-about": "dev-master", - "typo3/cms-core": "dev-master", - "typo3/cms-frontend": "dev-master", - "typo3/cms-install": "dev-master", + "typo3/cms-core": "dev-main", + "typo3/cms-frontend": "dev-main", + "typo3/cms-install": "dev-main", "typo3/coding-standards": "^0.3.0", "typo3/tailor": "^1.2", - "typo3/testing-framework": "^6.12.0" + "typo3/testing-framework": "dev-main" }, "type": "typo3-cms-extension", "extra": { @@ -8204,9 +8203,9 @@ ], "support": { "issues": "https://github.com/TYPO3/styleguide/issues", - "source": "https://github.com/TYPO3/styleguide/tree/11.5.0" + "source": "https://github.com/TYPO3/styleguide/tree/11.5.2" }, - "time": "2021-10-17T18:47:16+00:00" + "time": "2021-11-29T19:56:35+00:00" }, { "name": "typo3/testing-framework", diff --git a/typo3/sysext/core/Tests/Acceptance/Support/Extension/BackendCoreEnvironment.php b/typo3/sysext/core/Tests/Acceptance/Support/Extension/BackendCoreEnvironment.php index aecce422b66ec1bae79a39b7839160529f524791..84236b0e25500a8829b342a20931c11810c75212 100644 --- a/typo3/sysext/core/Tests/Acceptance/Support/Extension/BackendCoreEnvironment.php +++ b/typo3/sysext/core/Tests/Acceptance/Support/Extension/BackendCoreEnvironment.php @@ -86,6 +86,15 @@ class BackendCoreEnvironment extends BackendEnvironment 'MAIL' => [ 'transport' => NullTransport::class, ], + 'BE' => [ + 'HTTP' => [ + 'Response' => [ + 'Headers' => [ + 'csp-report' => "Content-Security-Policy-Report-Only: default-src 'self'; style-src-attr 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline'; img-src 'self' data:; worker-src 'self' blob:;", + ], + ], + ], + ], ], ];