From 785e187f5cf475ab6e6d6055396d2a6783f37eba Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Thu, 29 Oct 2020 17:22:02 +0100 Subject: [PATCH] Fixed special characters --- pandora_console/include/functions_io.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandora_console/include/functions_io.php b/pandora_console/include/functions_io.php index 6390f78f96..336e9480dd 100755 --- a/pandora_console/include/functions_io.php +++ b/pandora_console/include/functions_io.php @@ -116,6 +116,13 @@ function io_safe_input($value) // TICKET: 1223 $valueHtmlEncode = str_replace('°', '°', $valueHtmlEncode); + // Fixed the ¿ charater. + $valueHtmlEncode = str_replace('¿', '¿', $valueHtmlEncode); + // Fixed the ¡ charater. + $valueHtmlEncode = str_replace('¡', '¡', $valueHtmlEncode); + // Fixed the € charater. + $valueHtmlEncode = str_replace('€', '€', $valueHtmlEncode); + // Replace some characteres for html entities for ($i = 0; $i < 33; $i++) { $valueHtmlEncode = str_ireplace(