Ok, here's the fix. It's a stupid confusion about a variable name. The bug is in mailuser/mail/table/user.table.php. "user_name" is actually *not* the "username" (that would be user_username), but the user's name/comment field. Thus it allows many more characters than this check:
"/^[0-9a-zA-Z_\-\.]{0,255}$/"
This check will fail with any normal name as a full name is guaranteed to contain a space. Quick fix:
Code:
$table['user_name'] = array( 'datatype' => "VARCHAR",
'formtype' => "TEXT",
'regex' => "/^[0-9a-zA-Z_\-\.\s]{0,255}$/",
'errmsg' => "Name contains invalid charcters.",
'value' => "");
The \s was added by me. This will allow spaces and thus fix this issue for 99%of the situations. The check should be even more loose, though. Could somebody submit the check from version 2.2.23, please? user.table.php should be reverted to that version.
Recent comments
1 day 4 hours ago
1 day 13 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 15 hours ago
2 days 16 hours ago