mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +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
|
'autosubmit' => true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$resourceName = isset($formData['resource']) ? $formData['resource'] : $this->getValue('resource');
|
$resourceName = $this->getView()->escape($formData['resource'] ?? $this->getValue('resource'));
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'note',
|
'note',
|
||||||
'resource_note',
|
'resource_note',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user