Skip to content

Commit 9a51d2a

Browse files
Merge branch '7.1' into 7.2
* 7.1: [HttpFoundation] Fix merge [Runtime] fix tests
2 parents f7a7425 + 5183b61 commit 9a51d2a

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
@@ -301,10 +301,6 @@ public static function create(string $uri, string $method = 'GET', array $parame
301301
$server['REQUEST_METHOD'] = strtoupper($method);
302302

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

0 commit comments

Comments
 (0)