From 0656229285c8d7eaeda70f2a1b0ed1f761522f8a 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