From: Mikael Nordfeldth Date: Sun, 16 Nov 2014 17:29:05 +0000 (+0100) Subject: normalizing acct: URI just to be sure X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=496acdc7d961735656d607cae9a541df26f6e34f;p=quix0rs-gnu-social.git normalizing acct: URI just to be sure --- diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index adc3326336..d93d896838 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -1922,7 +1922,7 @@ class Ostatus_profile extends Managed_DataObject } // Try looking it up - $oprofile = Ostatus_profile::getKV('uri', 'acct:'.$addr); + $oprofile = Ostatus_profile::getKV('uri', Discovery::normalize($addr)); if ($oprofile instanceof Ostatus_profile) { self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->getUri());