From dc240ce7f32a398400df541d22d46ebc0d1e1eaa Mon Sep 17 00:00:00 2001 From: Andrew Aitken-Fincham Date: Wed, 6 Sep 2017 16:53:33 +0100 Subject: [PATCH] FIX use correct namespaces for middleware injection --- _config/requestprocessors.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_config/requestprocessors.yml b/_config/requestprocessors.yml index b5b9c8798..86c2c21c3 100644 --- a/_config/requestprocessors.yml +++ b/_config/requestprocessors.yml @@ -11,12 +11,12 @@ SilverStripe\Core\Injector\Injector: SessionMiddleware: '%$SilverStripe\Control\Middleware\SessionMiddleware' RequestProcessorMiddleware: '%$SilverStripe\Control\RequestProcessor' FlushMiddleware: '%$SilverStripe\Control\Middleware\FlushMiddleware' - SilverStripe\Control\AllowedHostsMiddleware: + SilverStripe\Control\Middleware\AllowedHostsMiddleware: properties: - AllowedHosts: "`SS_ALLOWED_HOSTS`" - SilverStripe\Control\TrustedProxyMiddleware: + AllowedHosts: '`SS_ALLOWED_HOSTS`' + SilverStripe\Control\Middleware\TrustedProxyMiddleware: properties: - TrustedProxyIPs: "`SS_TRUSTED_PROXY_IPS`" + TrustedProxyIPs: '`SS_TRUSTED_PROXY_IPS`' --- Name: errorrequestprocessors After: