From 3d4e1176ec9b18e9e7547b91d36554f2375ddb8e Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sun, 4 Dec 2016 15:15:23 +0100 Subject: [PATCH] Bugfix: cached data doesn't need to get unserialized anymore --- include/identity.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/identity.php b/include/identity.php index 288f93aaf9..a792c47144 100644 --- a/include/identity.php +++ b/include/identity.php @@ -813,7 +813,6 @@ function zrl_init(&$a) { $result = Cache::get("gprobe:".$urlparts["host"]); if (!is_null($result)) { - $result = unserialize($result); if (in_array($result["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) { logger("DDoS attempt detected for ".$urlparts["host"]." by ".$_SERVER["REMOTE_ADDR"].". server data: ".print_r($_SERVER, true), LOGGER_DEBUG); return; -- 2.39.5