diff --git a/src/Api/Controller/ShowUserController.php b/src/Api/Controller/ShowUserController.php index fd35b28672..c25bd3bdbc 100644 --- a/src/Api/Controller/ShowUserController.php +++ b/src/Api/Controller/ShowUserController.php @@ -48,7 +48,7 @@ protected function data(ServerRequestInterface $request, Document $document) $id = array_get($request->getQueryParams(), 'id'); if (! is_numeric($id)) { - $id = $this->users->getIdForUsername($id); + $id = $this->users->getIdForUsername(urldecode($id)); } $actor = $request->getAttribute('actor');