Skip to content

Commit

Permalink
use rawurldecode for allowing "+" in guests emails
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Dec 18, 2019
1 parent f6c6d39 commit 544c9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 544c9f3

Please sign in to comment.