diff options
| author | David M <davidmj@users.sourceforge.net> | 2006-12-24 15:35:24 +0000 |
|---|---|---|
| committer | David M <davidmj@users.sourceforge.net> | 2006-12-24 15:35:24 +0000 |
| commit | fb4e1920fcfc596eacdfa02f4752b83ca1e95508 (patch) | |
| tree | 1a96aaa57fba4c75eda0f813d5b6cc40099025f8 /phpBB/includes/functions_user.php | |
| parent | cbd1fb07ed9e0a19e19a58098e1b00bb74a102d5 (diff) | |
| download | forums-fb4e1920fcfc596eacdfa02f4752b83ca1e95508.tar forums-fb4e1920fcfc596eacdfa02f4752b83ca1e95508.tar.gz forums-fb4e1920fcfc596eacdfa02f4752b83ca1e95508.tar.bz2 forums-fb4e1920fcfc596eacdfa02f4752b83ca1e95508.tar.xz forums-fb4e1920fcfc596eacdfa02f4752b83ca1e95508.zip | |
#6372
git-svn-id: file:///svn/phpbb/trunk@6806 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
| -rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 1d11f00298..a8fb455cdf 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1148,7 +1148,7 @@ function validate_username($username) return false; } - if (!preg_match('#^' . str_replace('\\\\', '\\', $config['allow_name_chars']) . '$#i', $username) || strpos($username, '"') !== false || strpos($username, '"') !== false) + if (!preg_match('#^' . str_replace('\\\\', '\\', $config['allow_name_chars']) . '$#ui', $username) || strpos($username, '"') !== false || strpos($username, '"') !== false) { return 'INVALID_CHARS'; } |
