Affects Version/s: 1.4.2
Fix Version/s: None
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.:
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).
Escape (encode) the URL bevor sending the mail, e.g.: