mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +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)
|
||||
{
|
||||
$this->basePath = $basePath;
|
||||
$this->basePath = rtrim($basePath, '/ ');
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user