mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
fixed XSS security in integration search
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9839 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
75d660bf1a
commit
0dbd9091b0
6 changed files with 36 additions and 24 deletions
|
|
@ -27,7 +27,15 @@
|
|||
return $str;
|
||||
}
|
||||
');
|
||||
}
|
||||
}
|
||||
|
||||
if ( !function_exists('htmlspecialchars_decode') )
|
||||
{
|
||||
function htmlspecialchars_decode($text)
|
||||
{
|
||||
return strtr($text, array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
|
||||
}
|
||||
}
|
||||
|
||||
// time zone
|
||||
$time_zone = array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue