diff --git a/lib/Controller/UsersController.php b/lib/Controller/UsersController.php index a450cf87..be501ae3 100644 --- a/lib/Controller/UsersController.php +++ b/lib/Controller/UsersController.php @@ -114,7 +114,7 @@ public function __construct( */ public function create($email, $displayName) { $errorMessages = []; - $email = \trim(\urldecode($email)); + $email = \trim(\rawurldecode($email)); $username = \strtolower($email); if (empty($email) || !$this->mailer->validateMailAddress($email)) {