diff --git a/pandora_console/include/functions_io.php b/pandora_console/include/functions_io.php index a7fee2ae0a..a51f9d8b25 100755 --- a/pandora_console/include/functions_io.php +++ b/pandora_console/include/functions_io.php @@ -96,11 +96,21 @@ function io_safe_input($value) { $valueHtmlEncode = str_replace('/*', "/*", $valueHtmlEncode); $valueHtmlEncode = str_replace('*/', "*/", $valueHtmlEncode); - //Replace ( for the html entitie + // Replace ( for the html entitie $valueHtmlEncode = str_replace('(', "(", $valueHtmlEncode); - //Replace ( for the html entitie - $valueHtmlEncode = str_replace(')', ")", $valueHtmlEncode); + // Replace ( for the html entitie + $valueHtmlEncode = str_replace(')', ")", $valueHtmlEncode); + + $valueHtmlEncode = str_replace(')', ")", $valueHtmlEncode); + + + // Fixed the ยบ character, because the Perl in the Pandora Server + // use the hex value instead the human readble. + // TICKET: #1495 + $valueHtmlEncode = str_replace('º', "º", $valueHtmlEncode); + + //Replace some characteres for html entities for ($i=0; $i<33; $i++) {