Removed deprecated function function test_sql_and_script_inject that was
replaced with testSqlAndScriptInject
This commit is contained in:
parent
23252ed646
commit
ad3b0b1a62
@ -19,6 +19,7 @@ Following changes may create regressions for some external modules, but were nec
|
|||||||
* Files for variables of themes were renamed from graph-color.php into theme_vars.inc.php to match naming
|
* Files for variables of themes were renamed from graph-color.php into theme_vars.inc.php to match naming
|
||||||
convention of extension .inc.php for files to be included.
|
convention of extension .inc.php for files to be included.
|
||||||
* All methods set_draft() were renamed into setDraft().
|
* All methods set_draft() were renamed into setDraft().
|
||||||
|
* Removed deprecated function function test_sql_and_script_inject that was replaced with testSqlAndScriptInject.
|
||||||
|
|
||||||
|
|
||||||
***** ChangeLog for 9.0.1 compared to 9.0.0 *****
|
***** ChangeLog for 9.0.1 compared to 9.0.0 *****
|
||||||
|
|||||||
@ -68,22 +68,6 @@ if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* deprecated in PHP
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
|
|
||||||
/**
|
|
||||||
* Security: SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, PHP_SELF).
|
|
||||||
*
|
|
||||||
* @param string $val Value
|
|
||||||
* @param string $type 1=GET, 0=POST, 2=PHP_SELF, 3=GET without sql reserved keywords (the less tolerant test)
|
|
||||||
* @return int >0 if there is an injection, 0 if none
|
|
||||||
* @deprecated use testSqlAndScriptInject
|
|
||||||
* @see testSqlAndScriptInject($val, $type)
|
|
||||||
*/
|
|
||||||
function test_sql_and_script_inject($val, $type)
|
|
||||||
{
|
|
||||||
// phpcs:enable
|
|
||||||
return testSqlAndScriptInject($val, $type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Security: SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, PHP_SELF).
|
* Security: SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, PHP_SELF).
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user