Fixed the io_safe_output for to use hex html entity for the character º. TICKET: #1495
This commit is contained in:
parent
edf25fe620
commit
606f613aed
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue