Update security.php
This commit is contained in:
parent
0154bf7d7f
commit
4d5aa00cb5
|
@ -585,7 +585,7 @@ if(!function_exists("check_redirect_origin")) {
|
|||
$base_resource = parse_url($base_url);
|
||||
$base_host = str_replace("www.", "", get_value_in_array("host", $base_resource, ""));
|
||||
|
||||
$flag = check_token_abuse($to_host, $base_host);
|
||||
$flag = !check_token_abuse($to_host, $base_host);
|
||||
|
||||
return $flag;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user