]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/WebFinger/lib/webfingerresource/profile.php
acct uri should be caseinsensitive (so let's do our reconstruction in lowercase)
[quix0rs-gnu-social.git] / 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));
         }