Skip to content

Commit 6f0005f

Browse files
Merge branch '7.1' into 7.2
* 7.1: [HttpFoundation] Fix merge [Runtime] fix tests
2 parents 352786c + c2484ec commit 6f0005f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 0 additions & 4 deletions
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)