mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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
This commit is contained in:
parent
19f03aa6b7
commit
08b66d9025
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ function validate_username($username)
|
||||||
return false;
|
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';
|
return 'INVALID_CHARS';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue