Url: Cut of "/" and spaces at the end of basePath in setBasePath
refs #12133
This commit is contained in:
parent
1c55351460
commit
b4aca4737b
|
@ -281,7 +281,7 @@ class Url
|
|||
*/
|
||||
public function setBasePath($basePath)
|
||||
{
|
||||
$this->basePath = $basePath;
|
||||
$this->basePath = rtrim($basePath, '/ ');
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue