Fix path trimming
This commit is contained in:
parent
3632ab4cfc
commit
75a0d3ba22
|
|
@ -160,7 +160,7 @@ final class JsonApi implements RequestHandlerInterface
|
|||
$len = strlen($basePath);
|
||||
|
||||
if (substr($path, 0, $len) === $basePath) {
|
||||
$path = substr($path, $len + 1);
|
||||
$path = substr($path, $len);
|
||||
}
|
||||
|
||||
return $path;
|
||||
|
|
|
|||
Loading…
Reference in New Issue