diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/users.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 6b16e5e69..85056269b 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1149,7 +1149,10 @@ (strpos($username, '\'')!==false) ||
(strpos($username, '*')!==false) ||
(strpos($username, '&')!==false) ||
- (strpos($username, ' ')!==false)
+ (strpos($username, ' ')!==false) || + (strpos($username, '?')!==false) || + (strpos($username, '#')!==false) || + (strpos($username, '%')!==false)
)
throw new RegistrationException(elgg_echo('registration:invalidchars'));
|