Update uri.php
This commit is contained in:
parent
f56976c116
commit
50f0b77bde
|
@ -126,7 +126,8 @@ if(!check_function_exists("read_requests")) {
|
||||||
$protect_methods = array("_ALL", "_GET", "_POST", "_JSON", "_SEAL");
|
$protect_methods = array("_ALL", "_GET", "_POST", "_JSON", "_SEAL");
|
||||||
if(check_function_exists("get_clean_xss")) {
|
if(check_function_exists("get_clean_xss")) {
|
||||||
foreach($protect_methods as $method) {
|
foreach($protect_methods as $method) {
|
||||||
foreach($requests[$method] as $k=>$v) {
|
$requested_data = get_array(get_value_in_array($method, $requests, false));
|
||||||
|
foreach($requested_data as $k=>$v) {
|
||||||
$requests[$method][$k] = is_string($v) ? get_clean_xss($v) : $v;
|
$requests[$method][$k] = is_string($v) ? get_clean_xss($v) : $v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user