From c6ba22f591881daae4a2f3abf2990b427a3ad716 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Oct 2011 18:49:25 -0400 Subject: Select ! to be username separator. --- src/models/Auth.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/Auth.class.php b/src/models/Auth.class.php index 031ee26..9017bd5 100644 --- a/src/models/Auth.class.php +++ b/src/models/Auth.class.php @@ -31,6 +31,7 @@ class Auth { return true && (!in_array($name, $illegal_names)) && (strpos($name,'.')===false) + && (strpos($name,'!')===false) && (strlen($name)<256); } -- cgit v1.2.3-54-g00ecf