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
1 changed files with 13 additions and 3 deletions

View File

@ -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++) {