-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
1.4.2
-
None
-
All
-
Any
-
MOODLE_14_STABLE
If Moodle uses the Email-based authentication feature, user registration will fail with many Email clients if the new user uses a space as part of its username.
1) Select New account. signup.php will display a form.
2) Enter a username containing a space into the username-field, e.g. Hennecke Martin
3) Fill in the other fields
Moodle now sends the Email to the given address. It contains a link to the confirmation page (confirm.php), e.g.:
http://www.learn.uni-hildesheim.de/moodle/login/confirm.php?p=8HrXguzP5SWGGHx&s=hennecke martin
Most eMail clients will underline this, starting from http ending at hennecke. martin won't be underlined (and won't be part of the URL entered to the browser if the user follows the link).
Either the registration will fail without notice or with a welcome of the user hennecke. (We had a couple of problems with people like Tim Schmidt (username: Tim) and Tim Meyer (username: Tim Meyer).
Solution:
Escape (encode) the URL bevor sending the mail, e.g.:
http://www.learn.uni-hildesheim.de/moodle/login/confirm.php?p=8HrXguzP5SWGGHx&s=hennecke%20martin
(see %20)
- duplicates
-
MDL-7647 Broken links on confirmation email (or others)
-
- Closed
-