Merge pull request #1120 from Hawkheart/patch-1

extend URL validation
pull/1123/head
daniel 7 years ago committed by GitHub
commit 1347bb618d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save