aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php5
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'));