From b77cb188b933d115f668d72e56c31b5e21d8bf26 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 25 Jun 2019 13:17:16 -0600 Subject: [PATCH] Update AP Inbox --- app/Util/ActivityPub/Inbox.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 2bfa1c78..f2bfb7ef 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -323,6 +323,7 @@ class Inbox break; case 'Announce': + $obj = $obj['object']; abort_if(!Helpers::validateLocalUrl($obj), 400); $status = Helpers::statusFetch($obj); if(!$status) {