We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591e898 commit acd66feCopy full SHA for acd66fe
src/Illuminate/Filesystem/FilesystemAdapter.php
@@ -351,7 +351,7 @@ protected function getLocalUrl($path)
351
// it as the base URL instead of the default path. This allows the developer to
352
// have full control over the base path for this filesystem's generated URLs.
353
if ($config->has('url')) {
354
- return trim($config->get('url'), '/').'/'.ltrim($path, '/');
+ return rtrim($config->get('url'), '/').'/'.ltrim($path, '/');
355
}
356
357
$path = '/storage/'.$path;
0 commit comments