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