We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b0ac6 commit fde3216Copy full SHA for fde3216
system/HTTP/SiteURIFactory.php
@@ -131,7 +131,7 @@ private function parseRequestURI(): string
131
132
// Strip the SCRIPT_NAME path from the URI
133
if (
134
- $path !== '' && isset($this->superglobals->server('SCRIPT_NAME')[0])
+ $path !== '' && $this->superglobals->server('SCRIPT_NAME') !== ''
135
&& pathinfo($this->superglobals->server('SCRIPT_NAME'), PATHINFO_EXTENSION) === 'php'
136
) {
137
// Compare each segment, dropping them until there is no match
0 commit comments