git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit fd0a16ba authored by mmn's avatar mmn

acct uri should be caseinsensitive (so let's do our reconstruction in lowercase)

parent 74429835
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment