Fix for PR 7280
This commit is contained in:
parent
105c126756
commit
f878cc2623
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class APContact extends BaseObject
|
||||||
|
|
||||||
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);
|
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);
|
||||||
if (!$curlResult->isSuccess() || empty($curlResult->getBody())) {
|
if (!$curlResult->isSuccess() || empty($curlResult->getBody())) {
|
||||||
$webfinger = Strings::normalizeLink($webfinger);
|
$webfinger = Strings::normaliseLink($webfinger);
|
||||||
|
|
||||||
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);
|
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue