From 51c9d71e024e83b4aa3cdc452320fb8b1b29bef0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 20 Dec 2020 20:01:59 +0100 Subject: [PATCH] use & instead of , for fragments --- Uri/HttpUri.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uri/HttpUri.php b/Uri/HttpUri.php index 5e7c2e0b7..e4cb3cd07 100644 --- a/Uri/HttpUri.php +++ b/Uri/HttpUri.php @@ -213,7 +213,7 @@ final class HttpUri implements UriInterface $this->query = \array_change_key_case($this->query, \CASE_LOWER); $this->fragment = $url['fragment'] ?? ''; - $this->fragments = \explode(',', $url['fragment'] ?? ''); + $this->fragments = \explode('&', $url['fragment'] ?? ''); $this->base = $this->scheme . '://' . $this->host . ($this->port !== 80 ? ':' . $this->port : '') . $this->rootPath; }