From fd0a16ba041d963d4135f279c2c457bb5b32af75 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 28 Oct 2013 18:28:53 +0100 Subject: [PATCH] acct uri should be caseinsensitive (so let's do our reconstruction in lowercase) --- plugins/WebFinger/lib/webfingerresource/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/WebFinger/lib/webfingerresource/profile.php b/plugins/WebFinger/lib/webfingerresource/profile.php index 76987cb3ef..49353145ed 100644 --- a/plugins/WebFinger/lib/webfingerresource/profile.php +++ b/plugins/WebFinger/lib/webfingerresource/profile.php @@ -41,7 +41,7 @@ class WebFingerResource_Profile extends WebFingerResource if (empty($this->object->nickname) || empty($host)) { throw new WebFingerReconstructionException($this->object); } - $acct = sprintf('acct:%s@%s', $this->object->nickname, $host); + $acct = mb_strtolower(sprintf('acct:%s@%s', $this->object->nickname, $host)); Event::handle('EndWebFingerReconstruction', array($this->object, &$acct)); }