Url: Cut of "/" and spaces at the end of basePath in setBasePath

refs #12133
This commit is contained in:
Noah Hilverling 2016-10-18 16:08:34 +02:00
parent 1c55351460
commit b4aca4737b

View File

@ -281,7 +281,7 @@ class Url
*/ */
public function setBasePath($basePath) public function setBasePath($basePath)
{ {
$this->basePath = $basePath; $this->basePath = rtrim($basePath, '/ ');
return $this; return $this;
} }