diff --git a/src/Worker/CheckRelMeProfileLink.php b/src/Worker/CheckRelMeProfileLink.php index f42c9b84ba..da3338e34b 100644 --- a/src/Worker/CheckRelMeProfileLink.php +++ b/src/Worker/CheckRelMeProfileLink.php @@ -76,7 +76,7 @@ class CheckRelMeProfileLink $rel = $link->getAttribute('rel'); if ($rel == 'me') { $href = $link->getAttribute('href'); - if (strpos($href, 'http')!==false && !$homepageUrlVerified && Network::isUrlValid($href)) { + if (!$homepageUrlVerified && Network::isValidHttpUrl($href)) { $homepageUrlVerified = Strings::compareLink($owner['url'], $href); } }