mirror of https://github.com/pixelfed/pixelfed.git
commit
1347bb618d
|
@ -186,6 +186,11 @@ class RemoteFollowImportRecent implements ShouldQueue
|
||||||
Log::info('Invalid media, skipping. '.$mime);
|
Log::info('Invalid media, skipping. '.$mime);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (Helpers::validateUrl($url) == false) {
|
||||||
|
Log::info('Skipping invalid attachment URL: ' . $url);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$count++;
|
$count++;
|
||||||
|
|
||||||
if ($count === 1) {
|
if ($count === 1) {
|
||||||
|
|
Loading…
Reference in New Issue