Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
* 7.1:
  [HttpFoundation] Fix merge
  [Runtime] fix tests
  • Loading branch information
nicolas-grekas committed Nov 6, 2024
2 parents f7a7425 + 5183b61 commit 9a51d2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
Expand Down

0 comments on commit 9a51d2a

Please sign in to comment.