From 199de592ebd8731a5f492de5db78260a2dccfd33 Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Thu, 6 May 2021 11:31:33 +0200 Subject: [PATCH] fix and close #15 --- conlite/includes/functions.mod.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conlite/includes/functions.mod.php b/conlite/includes/functions.mod.php index dcfcf01..837cf5c 100644 --- a/conlite/includes/functions.mod.php +++ b/conlite/includes/functions.mod.php @@ -77,10 +77,10 @@ function modEditModule($idmod, $name, $description, $input, $output, $template, || $cApiModule->get("type") != stripslashes($type)) { $cApiModule->set("name", $name); - $cApiModule->set("output", $output); + $cApiModule->set("output", $cApiModule->escape($output)); $cApiModule->set("template", $template); $cApiModule->set("description", $description); - $cApiModule->set("input", $input); + $cApiModule->set("input", $cApiModule->escape($input)); $cApiModule->set("type", $type); $cApiModule->set("lastmodified", $date);