diff --git a/Uri/UriFactory.php b/Uri/UriFactory.php index ccfc01fab..b2a600431 100644 --- a/Uri/UriFactory.php +++ b/Uri/UriFactory.php @@ -233,11 +233,6 @@ final class UriFactory return $toMatch[$match] ?? self::$uri[$match] ?? $match; }, $uri); - // todo: maybe don't do this and adjust unique?! - if (\strpos($parsed, '?')) { - \str_replace('&', '?', $parsed); - } - return self::unique($parsed); } }