Skip to content

Commit 5183b61

Browse files
[HttpFoundation] Fix merge
1 parent cd65d42 commit 5183b61

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Request.php

-4
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,6 @@ public static function create(string $uri, string $method = 'GET', array $parame
302302
$server['REQUEST_METHOD'] = strtoupper($method);
303303

304304
$components = parse_url($uri);
305-
if (false === $components) {
306-
throw new \InvalidArgumentException(sprintf('Malformed URI "%s".', $uri));
307-
}
308-
309305
if (false === $components) {
310306
throw new BadRequestException('Invalid URI.');
311307
}

0 commit comments

Comments
 (0)