]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/APContact.php
Merge remote-tracking branch 'upstream/develop' into more-q
[friendica.git] / src / Model / APContact.php
index 13add7e658939fdd92b9d6871eaf537aebe86c4b..a919a67f30e740c88d1e2e13b7d5bd73be34a9ae 100644 (file)
@@ -119,7 +119,8 @@ class APContact
         */
        public static function getByURL($url, $update = null)
        {
-               if (empty($url)) {
+               if (empty($url) || Network::isUrlBlocked($url)) {
+                       Logger::info('Domain is blocked', ['url' => $url]);
                        return [];
                }