diff --git a/Request.php b/Request.php index 5c8cd56cc..42b5258d1 100644 --- a/Request.php +++ b/Request.php @@ -301,10 +301,6 @@ public static function create(string $uri, string $method = 'GET', array $parame $server['REQUEST_METHOD'] = strtoupper($method); $components = parse_url($uri); - if (false === $components) { - throw new \InvalidArgumentException(\sprintf('Malformed URI "%s".', $uri)); - } - if (false === $components) { throw new BadRequestException('Invalid URI.'); }