mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 17:41:25 +02:00
- introducing clean usernames, needs to be tested more, I'm not sure I didn't miss anything
- homograph list should probably be extended git-svn-id: file:///svn/phpbb/trunk@6494 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -332,7 +332,7 @@ switch ($mode)
|
||||
{
|
||||
$sql = 'SELECT *
|
||||
FROM ' . USERS_TABLE . "
|
||||
WHERE LOWER(username) = '" . utf8_strtolower($db->sql_escape($username)) . "'
|
||||
WHERE username_clean = '" . $db->sql_escape(utf8_clean_string($username)) . "'
|
||||
AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')';
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user