From 496acdc7d961735656d607cae9a541df26f6e34f Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 16 Nov 2014 18:29:05 +0100 Subject: [PATCH] normalizing acct: URI just to be sure --- plugins/OStatus/classes/Ostatus_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5