]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Tag.php
Merge pull request #9044 from annando/avatar-stuff
[friendica.git] / src / Model / Tag.php
index a48f2cb92b6dc71308576e274d78d1fb45667dc1..7eb475d727009e8642524895ed2b8a90597ead1c 100644 (file)
@@ -93,6 +93,10 @@ class Tag
                                return;
                        }
 
+                       if ((substr($url, 0, 7) == 'https//') || (substr($url, 0, 6) == 'http//')) {
+                               Logger::notice('Wrong scheme in url', ['url' => $url, 'callstack' => System::callstack(20)]);
+                       }
+
                        if (!$probing) {
                                $condition = ['nurl' => Strings::normaliseLink($url), 'uid' => 0, 'deleted' => false];
                                $contact = DBA::selectFirst('contact', ['id'], $condition, ['order' => ['id']]);