Merge pull request #7283 from annando/7280-fix

Self merging due to critical bug fixes
This commit is contained in:
Michael Vogel 2019-06-19 20:40:19 +02:00 committed by GitHub
commit e0b936e334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ class APContact extends BaseObject
$curlResult = Network::curl($webfinger, false, ['timeout' => $xrd_timeout, 'accept_content' => 'application/jrd+json,application/json']);
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']);