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…
Reference in New Issue