forked from GNUsocial/gnu-social
acct uri should be caseinsensitive (so let's do our reconstruction in lowercase)
This commit is contained in:
parent
74429835a1
commit
fd0a16ba04
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user