We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eebc5e commit d9a5a6dCopy full SHA for d9a5a6d
1 file changed
system/HTTP/SiteURIFactory.php
@@ -70,7 +70,7 @@ public function createFromString(string $uri): SiteURI
70
$fragment = '#' . $parts['fragment'];
71
}
72
73
- $relativePath = $parts['path'] . $query . $fragment;
+ $relativePath = ($parts['path'] ?? '') . $query . $fragment;
74
$host = $this->getValidHost($parts['host']);
75
76
return new SiteURI($this->appConfig, $relativePath, $host, $parts['scheme']);
0 commit comments