diff --git a/src/applications/diffusion/query/browse/DiffusionGitBrowseQuery.php b/src/applications/diffusion/query/browse/DiffusionGitBrowseQuery.php index 1b81181b7e..28fab2d3a0 100644 --- a/src/applications/diffusion/query/browse/DiffusionGitBrowseQuery.php +++ b/src/applications/diffusion/query/browse/DiffusionGitBrowseQuery.php @@ -83,7 +83,7 @@ final class DiffusionGitBrowseQuery extends DiffusionBrowseQuery { } } - $result->setFullPath($path.$name); + $result->setFullPath(rtrim($path, '/').'/'.$name); $result->setPath($name); $result->setHash($hash); $result->setFileType($file_type);