Skip to content

Commit 74a2bd3

Browse files
dmf-tsieverstinect
authored andcommitted
fix: duplicated slashes after domain
1 parent 02527f9 commit 74a2bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/UrlGeneratorDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private function canRun(MediaEntity $media): bool
8282

8383
private function getBaseUrl(): string
8484
{
85-
return $this->filesystem->publicUrl('');
85+
return \rtrim($this->filesystem->publicUrl(''), '/');
8686
}
8787

8888
private function canProcessFileExtension(?string $fileExtension): bool

0 commit comments

Comments
 (0)