mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
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)
|
public function setBasePath($basePath)
|
||||||
{
|
{
|
||||||
$this->basePath = $basePath;
|
$this->basePath = rtrim($basePath, '/ ');
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user