From: Mikael Nordfeldth Date: Mon, 28 Oct 2013 17:28:53 +0000 (+0100) Subject: acct uri should be caseinsensitive (so let's do our reconstruction in lowercase) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd0a16ba041d963d4135f279c2c457bb5b32af75;p=quix0rs-gnu-social.git acct uri should be caseinsensitive (so let's do our reconstruction in lowercase) --- 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)); }