]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
acct uri should be caseinsensitive (so let's do our reconstruction in lowercase)
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 28 Oct 2013 17:28:53 +0000 (18:28 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 28 Oct 2013 17:28:53 +0000 (18:28 +0100)
plugins/WebFinger/lib/webfingerresource/profile.php

index 76987cb3efe1a587520e7ffd19610f562967c8ff..49353145ed3f242625c9868f4257bc0f0fe5214f 100644 (file)
@@ -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));
         }