I would like to choose Firstname as a username. Sometime people have 2 words in their FirstName. It looks like for multi word FirstName, all will be used as a username with spaces allowed. Isn't the following function not allowing that?
function _user_import_sanitise_username(&$username) {
// username cannot contain multiple spaces in a row
$username = preg_replace('/[ ]+/', ' ', $username);
....
}
Comments
Comment #1
mcsnolte commentedIndeed, and spaces shouldn't be allowed anyway. I recommended a fix here: http://drupal.org/node/219023#comment-776837
Comment #2
robert castelo commentedFixed in 5.x-2.0-beta1, please re-open this issue if you can still replicate the bug.