Page 1 of 1

Username with spaces...

PostPosted: Wed Apr 08, 2015 10:53 pm
by konstantinos
We have noticed that it is possible to register via checkout, allowing a username either having spaces in it (okay but problematic), or being only spaces (bad).

We recommend the following:

1) Do not allow a username to have any spaces before or after. Or just automatically remove the beginning and trailing spaces before submitting (but then you'd have to check if what's left, already exists as a username)

2) Definitely do not allow a username to be spaces only.

3) Some option if spaces are allowed at all, would be welcome.

Thanks

Re: Username with spaces...

PostPosted: Fri Apr 10, 2015 4:49 pm
by admin
hello, i just tested a default joomla registration on joomla 2.5.x and it seems to allow spaces in usernames, is there any particular reason you don't want to allow the spaces? it also allowed the login with the spaces there.

best regards, stan

Re: Username with spaces...

PostPosted: Mon Apr 13, 2015 6:09 pm
by konstantinos
Hi,

Spaces in usernames can cause problems.... not so much spaces in between words, but spaces before and after. Joomla registration does indeed need to be more careful with what it allows (even if optionally).

So for example one can register with this username: " " (3 spaces)

Or how about this one: " John" (starting with a space)