Skip to content

Commit

Permalink
Fix path for referer links
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Sep 27, 2024
1 parent 264766a commit efebd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/StoreRefererListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ private function prepareBackendReferer(string $refererId, ?array $referers = nul
*/
private function getRelativeRequestUri(Request $request): string
{
return substr($request->getRequestUri(), strlen($request->getBasePath()) + 1);
return substr($request->getRequestUri(), strlen($request->getBasePath()));
}
}

0 comments on commit efebd2c

Please sign in to comment.