Unverified Commit 46f02154 authored by alexpott's avatar alexpott

Issue #2618606 by dawehner, rbayliss: Update.php - Reverse proxy settings not used

parent 9629b7a3
......@@ -5,6 +5,7 @@
use Drupal\Core\DrupalKernel;
use Drupal\Core\Session\AnonymousUserSession;
use Drupal\Core\Site\Settings;
use Drupal\Core\StackMiddleware\ReverseProxyMiddleware;
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request;
......@@ -59,6 +60,7 @@ public function handle(Request $request, $type = self::MASTER_REQUEST, $catch =
// First boot up basic things, like loading the include files.
ReverseProxyMiddleware::setSettingsOnRequest($request, Settings::getInstance());
$container = $this->getContainer();
/** @var \Symfony\Component\HttpFoundation\RequestStack $request_stack */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment