From 0d291b44c96d91a6d59ac3d0a6e109801442df77 Mon Sep 17 00:00:00 2001 From: Marco Kaiser Date: Thu, 13 Jul 2023 10:56:01 +0200 Subject: [PATCH] Update security-release-notes-202306.0.md fixed some typos and path issues --- .../security-release-notes-202306.0.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/scos/user/intro-to-spryker/releases/release-notes/release-notes-202306.0/security-release-notes-202306.0.md b/docs/scos/user/intro-to-spryker/releases/release-notes/release-notes-202306.0/security-release-notes-202306.0.md index c252b8254c6..d755d847754 100644 --- a/docs/scos/user/intro-to-spryker/releases/release-notes/release-notes-202306.0/security-release-notes-202306.0.md +++ b/docs/scos/user/intro-to-spryker/releases/release-notes/release-notes-202306.0/security-release-notes-202306.0.md @@ -578,7 +578,7 @@ composer update spryker/event-dispatcher spryker/glue-backend-api-application sp 2. Register `Spryker\Glue\Http\Plugin\EventDispatcher\CacheControlHeaderEventDispatcherPlugin` in `Pyz\Glue\EventDispatcher::getEventDispatcherPlugins()`. -3. Register `Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\StrictTransportSecurityHeaderResponseFormatterPlugin` in `Pyz\Glue\GlueBackendApiApplication::getResponseFormatterPlugins()`. +3. Register `Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\StrictTransportSecurityHeaderResponseFormatterPlugin` in `Pyz\Glue\GlueBackendApiApplication\GlueBackendApiApplicationDependencyProvider::getResponseFormatterPlugins()`. 4. In `Pyz\Glue\GlueStorefrontApiApplication\GlueStorefrontApiApplicationDependencyProvider::getResponseFormatterPlugins()`, register `Spryker\Glue\GlueStorefrontApiApplication\Plugin\GlueApplication\StrictTransportSecurityHeaderResponseFormatterPlugin`. @@ -619,17 +619,17 @@ public function getSecurityHeaders(): array use Spryker\Shared\Http\HttpConstants; $config[HttpConstants::YVES_HTTP_CACHE_CONTROL_CONFIG] = [ - 'public' = true, - 'max-age' = 3600, + 'public' => true, + 'max-age' => 3600, ]; $config[HttpConstants::ZED_HTTP_CACHE_CONTROL_CONFIG] = [ - 'public' = true, - 'max-age' = 3600, + 'public' => true, + 'max-age' => 3600, ]; $config[HttpConstants::GLUE_HTTP_CACHE_CONTROL_CONFIG] = [ - 'public' = true, - 'max-age' = 3600, + 'public' => true, + 'max-age' => 3600, ]; ```