diff --git a/core/lib/Drupal/Core/Path/PathValidator.php b/core/lib/Drupal/Core/Path/PathValidator.php index 689625c..e972871 100644 --- a/core/lib/Drupal/Core/Path/PathValidator.php +++ b/core/lib/Drupal/Core/Path/PathValidator.php @@ -159,7 +159,8 @@ protected function getPathAttributes($path, Request $request, $access_check) { $path = $this->pathProcessor->processInbound('/' . $path, $request); try { - return $router->match($path); + $subrequest = Request::create($path); + return $router->matchRequest($subrequest); } catch (ResourceNotFoundException $e) { return FALSE;