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] authored and phil-davis committed Mar 2, 2020
1 parent d731e1d commit 4891dff
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 4891dff

Please sign in to comment.