We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f925658 commit da5a678Copy full SHA for da5a678
1 file changed
system/HTTP/IncomingRequest.php
@@ -270,7 +270,7 @@ protected function parseRequestURI(): string
270
foreach (explode('/', $_SERVER['SCRIPT_NAME']) as $i => $segment)
271
{
272
// If these segments are not the same then we're done
273
- if ($segment !== $segments[$i])
+ if (! isset($segments[$i]) || $segment !== $segments[$i])
274
275
break;
276
}
0 commit comments