Fixed the io_safe_output for to use hex html entity for the character º. TICKET: #1495

This commit is contained in:
mdtrooper 2014-10-24 12:05:29 +02:00
parent edf25fe620
commit 606f613aed

View File

@ -102,6 +102,16 @@ function io_safe_input($value) {
// 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++) {
$valueHtmlEncode = str_ireplace(chr($i),