From a019f72f1e2296bcdd379a3bc31b3620a532be32 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 11 Dec 2023 16:42:32 +0100 Subject: [PATCH] #12630 Fixed double safe_input --- pandora_console/include/functions_config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 4798ed2b4f..cd45611508 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -92,6 +92,8 @@ function config_update_value($token, $value, $noticed=false, $password=false) if (isset($config[$token]) === false) { $config[$token] = $value; + $value = io_safe_output($value); + if (($password === false)) { return (bool) config_create_value($token, io_safe_input($value)); } else {