aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-03-01 00:11:20 +0000
committerChris Smith <toonarmy@phpbb.com>2009-03-01 00:11:20 +0000
commitd597eacce54708f0a5e6788f9cb90c84678e94fb (patch)
tree84f5ad60952dcf7697c0cd952b92f1719ba915dd /phpBB/includes/functions_user.php
parent62973fa50416cebd78b46aba7e29f9746e949032 (diff)
downloadforums-d597eacce54708f0a5e6788f9cb90c84678e94fb.tar
forums-d597eacce54708f0a5e6788f9cb90c84678e94fb.tar.gz
forums-d597eacce54708f0a5e6788f9cb90c84678e94fb.tar.bz2
forums-d597eacce54708f0a5e6788f9cb90c84678e94fb.tar.xz
forums-d597eacce54708f0a5e6788f9cb90c84678e94fb.zip
Correct mbstring regular expression for the allowable username characters. #42325
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9352 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 3cdf18449d..f8589b274f 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1436,7 +1436,7 @@ function validate_username($username, $allowed_username = false)
}
else if ($mbstring)
{
- $regex = '[-\]_+ [[:upper:][:lower:][:digit:]]+';
+ $regex = '[-\]_+ \[[:upper:][:lower:][:digit:]]+';
}
else
{