mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
helpers/url: Properly escape image urls
This commit is contained in:
parent
7ba0466048
commit
4e6b936862
@ -77,7 +77,7 @@ $this->addHelperFunction('img', function ($url, $params = null, array $propertie
|
||||
|
||||
return sprintf(
|
||||
'<img src="%s"%s />',
|
||||
$view->url($url, $params),
|
||||
$view->escape($view->url($url, $params)),
|
||||
$view->propertiesToString($properties)
|
||||
);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user