This commit is contained in:
Marc Delisle
2008-09-22 14:09:44 +00:00
parent b49d14dbc1
commit 982fc9ee88

View File

@@ -47,8 +47,7 @@ function PMA_jsFormat($a_string = '', $add_backquotes = true)
* this requires only to escape ' with \' and end of script block * this requires only to escape ' with \' and end of script block
* *
* We also remove NUL byte as some browsers (namely MSIE) ignore it and * We also remove NUL byte as some browsers (namely MSIE) ignore it and
* it and inserting it anywhere inside </script would allow to pass this * inserting it anywhere inside </script would allow to bypass this check.
* check.
* *
* @uses strtr() * @uses strtr()
* @uses preg_replace() * @uses preg_replace()