diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-11 23:54:00 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-11 23:54:00 +0000 |
commit | 08b66d902593bc60775066bc33e91402f274dad7 (patch) | |
tree | 51fab1adab85ceaa5478b382da9107e7f81ad8f4 /phpBB/includes/functions_user.php | |
parent | 19f03aa6b73ee23ce4caa732e5c19fb7604d383e (diff) | |
download | forums-08b66d902593bc60775066bc33e91402f274dad7.tar forums-08b66d902593bc60775066bc33e91402f274dad7.tar.gz forums-08b66d902593bc60775066bc33e91402f274dad7.tar.bz2 forums-08b66d902593bc60775066bc33e91402f274dad7.tar.xz forums-08b66d902593bc60775066bc33e91402f274dad7.zip |
Slashing of allowed username chars corrected ... may not appear to work "correctly" till remaining changes are committed
git-svn-id: file:///svn/phpbb/trunk@4555 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 bf2eb2c4dd..7df2b0a60b 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -104,7 +104,7 @@ function validate_username($username) return false; } - if (!preg_match('#^' . $config['allow_name_chars'] . '$#i', $username)) + if (!preg_match('#^' . str_replace('\\\\', '\\', $config['allow_name_chars']) . '$#i', $username)) { return 'INVALID_CHARS'; } |