diff --git a/app/Jobs/RemoteFollowPipeline/RemoteFollowImportRecent.php b/app/Jobs/RemoteFollowPipeline/RemoteFollowImportRecent.php index 90c592c5c..0d8dcffb3 100644 --- a/app/Jobs/RemoteFollowPipeline/RemoteFollowImportRecent.php +++ b/app/Jobs/RemoteFollowPipeline/RemoteFollowImportRecent.php @@ -186,6 +186,11 @@ class RemoteFollowImportRecent implements ShouldQueue Log::info('Invalid media, skipping. '.$mime); continue; } + if (Helpers::validateUrl($url) == false) { + Log::info('Skipping invalid attachment URL: ' . $url); + continue; + } + $count++; if ($count === 1) {