projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdae456
)
Bugfix: cached data doesn't need to get unserialized anymore
author
rabuzarus
<>
Sun, 4 Dec 2016 14:15:23 +0000
(15:15 +0100)
committer
rabuzarus
<>
Sun, 4 Dec 2016 14:15:23 +0000
(15:15 +0100)
include/identity.php
patch
|
blob
|
history
diff --git
a/include/identity.php
b/include/identity.php
index 288f93aaf97e0aa54875a9b73977a89e063d9e2f..a792c4714426a9a1334442a90f07620177f9ca85 100644
(file)
--- 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;