diff --git a/core/lib/Drupal/Core/Url.php b/core/lib/Drupal/Core/Url.php index 9fa8f1e..ea407cc 100644 --- a/core/lib/Drupal/Core/Url.php +++ b/core/lib/Drupal/Core/Url.php @@ -127,7 +127,7 @@ public static function createFromPath($path) { return new static($path); } else { - return static::createFromRequest(Request::create($path)); + return static::createFromRequest(Request::create("/$path")); } }