mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Sanitize report name in pdf.php (#10270)
Authentication users could include arbitrary file.
This commit is contained in:
@@ -1523,7 +1523,7 @@ function clean($value, $strip_tags = true)
|
||||
*/
|
||||
function display($value, $purifier_config = [])
|
||||
{
|
||||
return Html::display($value, $purifier_config);
|
||||
return \LibreNMS\Util\Clean::html($value, $purifier_config);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user