Merge pull request #7283 from annando/7280-fix
Self merging due to critical bug fixes
This commit is contained in:
commit
e0b936e334
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