Merge pull request #9054 from annando/probe-addr
Use the AP adress for probing webfinger
This commit is contained in:
commit
750f83fba0
1 changed files with 8 additions and 1 deletions
|
@ -712,7 +712,14 @@ class Probe
|
|||
|
||||
Logger::info('Probing start', ['uri' => $uri]);
|
||||
|
||||
$data = self::getWebfingerArray($uri);
|
||||
if (!empty($ap_profile['addr']) && ($ap_profile['addr'] != $uri)) {
|
||||
$data = self::getWebfingerArray($ap_profile['addr']);
|
||||
}
|
||||
|
||||
if (empty($data)) {
|
||||
$data = self::getWebfingerArray($uri);
|
||||
}
|
||||
|
||||
if (empty($data)) {
|
||||
if (!empty($parts['scheme'])) {
|
||||
return self::feed($uri);
|
||||
|
|
Loading…
Reference in a new issue