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
1 changed files with 1 additions and 1 deletions

View File

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