We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit fd0a16ba authored by mattl's avatar mattl

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