diff --git a/Uri/Http.php b/Uri/Http.php index 009a4a776..9ea8bcc06 100644 --- a/Uri/Http.php +++ b/Uri/Http.php @@ -263,7 +263,7 @@ class Http implements UriInterface public function getRoute() : string { - return ($this->path ?? '') . $this->getQuery(); + return ($this->path ?? '') . '?' . $this->getQuery(); } /**