normalize path for correct output NO_CI

This commit is contained in:
Dennis Eichhorn 2020-06-19 08:23:09 +02:00
parent 52b2ecf398
commit 81ea624099

View File

@ -337,7 +337,7 @@ class Media implements \JsonSerializable
*/
public function getPath() : string
{
return $this->path;
return $this->isAbsolute ? $this->path : \ltrim($this->path, '/');
}
/**