Skip to content

Commit 23e2467

Browse files
committed
Updated XRD host checks in line with GS
1 parent 7e1ad71 commit 23e2467

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/discovery.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,7 @@ public function discover($uri)
279279
$xrd = Discovery::fetchXrd($url);
280280

281281
if ($xrd) {
282-
if ($xrd->host != $domain) {
283-
return false;
284-
}
285-
282+
286283
return $xrd->links;
287284
}
288285
}

0 commit comments

Comments
 (0)