Fixed SNMP interface wizard modules with special chars

This commit is contained in:
Calvo 2021-06-16 16:30:45 +02:00
parent 90905d72f5
commit 06f3b0ea36
1 changed files with 1 additions and 1 deletions

View File

@ -1186,7 +1186,7 @@ class AgentWizard extends HTML
[
'arguments' => [
'type' => 'hidden',
'value' => json_encode($candidateModules),
'value' => htmlspecialchars(json_encode($candidateModules)),
'return' => true,
'name' => 'modules-definition',
],