Skip to content

Commit 53ff909

Browse files
committed
Merge branch '2.3'
2 parents c47b056 + 58cd6cf commit 53ff909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/Symfony/Routing/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function match($pathInfo)
7171
$baseContext = $this->router->getContext();
7272
$pathInfo = str_replace($baseContext->getBaseUrl(), '', $pathInfo);
7373

74-
$request = Request::create($pathInfo);
74+
$request = Request::create($pathInfo, 'GET', [], [], [], ['HTTP_HOST' => $baseContext->getHost()]);
7575
$context = (new RequestContext())->fromRequest($request);
7676
$context->setPathInfo($pathInfo);
7777
$context->setScheme($baseContext->getScheme());

0 commit comments

Comments
 (0)