OWASP/phpsec — pull request #73 by paulocmguerreiro (2013-10-22 22:29:23+00:00)
Title: Added control over userID definition to prevent an invalid userID:

Added control over userID definition to prevent the userID: …
-cannot be null
-cannot be empty
-Length should be between User::$minUserIDNChars and
User::$maxUserIDNChars
-Only Letters and numbers allowed

Throws an UserIDInvalid exception otherwise