Forums / Cotonti / Bugs / Critical Error in registration

in username wrong symbol

ToM
#25266 2010-07-19 22:15
Yes this is strange because I tested few days ago and I can create user with name e.g. #$%$&ljlj*! .
I thought that mentioned line:
preg_match('/&#\d+;/', $name) || preg_match('/[<>#\'"\/]/', $name)

should prevent username like this but it doesn't. I haven't had time to check where could be an issue but there is some in function probably.
Salvation is the gift but sometimes is to hard for us to acknowledge it.