From 26646a70a9b0d095a8e5f1bf95586007d4efd9d7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 12 Aug 2019 01:19:34 -0600 Subject: [PATCH] Update Accept AP Validator --- app/Util/ActivityPub/Validator/Accept.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Util/ActivityPub/Validator/Accept.php b/app/Util/ActivityPub/Validator/Accept.php index 7230a37f3..324f2c2ba 100644 --- a/app/Util/ActivityPub/Validator/Accept.php +++ b/app/Util/ActivityPub/Validator/Accept.php @@ -16,15 +16,15 @@ class Accept { 'required', Rule::in(['Accept']) ], - 'actor' => 'required|url|active_url', + 'actor' => 'required|url', 'object' => 'required', - 'object.id' => 'required|url|active_url', + 'object.id' => 'required|url', 'object.type' => [ 'required', Rule::in(['Follow']) ], - 'object.actor' => 'required|url|active_url', - 'object.object' => 'required|url|active_url|same:actor', + 'object.actor' => 'required|url', + 'object.object' => 'required|url|same:actor', ])->passes(); return $valid;