mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Change __toString() to get encoded url string
This commit is contained in:
parent
7c58b3ced1
commit
53388a3940
@ -866,6 +866,6 @@ class Url
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->getAbsoluteUrl('&');
|
||||
return htmlspecialchars($this->getAbsoluteUrl(), ENT_COMPAT | ENT_SUBSTITUTE | ENT_HTML5, 'UTF-8', true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user