mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
No need to throw exceptions when generating MediaLibrary URLs
This commit is contained in:
parent
fe2ca6c15e
commit
15ca68c22d
@ -536,7 +536,7 @@ class MediaLibrary
|
||||
*/
|
||||
public function getPathUrl($path)
|
||||
{
|
||||
$path = $this->validatePath($path);
|
||||
$path = $this->validatePath($path, true);
|
||||
|
||||
$fullPath = $this->storagePath . implode("/", array_map("rawurlencode", explode("/", $path)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user