Skip to content

Commit a0f6c3d

Browse files
authored
Merge pull request #4726 from MGatner/uri
2 parents 5c6f396 + da5a678 commit a0f6c3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/HTTP/IncomingRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ protected function parseRequestURI(): string
269269
foreach (explode('/', $_SERVER['SCRIPT_NAME']) as $i => $segment)
270270
{
271271
// If these segments are not the same then we're done
272-
if ($segment !== $segments[$i])
272+
if (! isset($segments[$i]) || $segment !== $segments[$i])
273273
{
274274
break;
275275
}

0 commit comments

Comments
 (0)