mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Escape resource identifier in monitoring backend form
This commit is contained in:
parent
02dece2a35
commit
14c0748693
@ -227,7 +227,7 @@ class BackendConfigForm extends ConfigForm
|
||||
'autosubmit' => true
|
||||
)
|
||||
);
|
||||
$resourceName = isset($formData['resource']) ? $formData['resource'] : $this->getValue('resource');
|
||||
$resourceName = $this->getView()->escape($formData['resource'] ?? $this->getValue('resource'));
|
||||
$this->addElement(
|
||||
'note',
|
||||
'resource_note',
|
||||
|
Loading…
x
Reference in New Issue
Block a user