Username with spaces...

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Username with spaces...

Postby konstantinos » Wed Apr 08, 2015 10:53 pm

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
konstantinos
 
Posts: 23
Joined: Wed Mar 25, 2015 3:27 pm

Re: Username with spaces...

Postby admin » Fri Apr 10, 2015 4:49 pm

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
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Username with spaces...

Postby konstantinos » Mon Apr 13, 2015 6:09 pm

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)
konstantinos
 
Posts: 23
Joined: Wed Mar 25, 2015 3:27 pm


Return to One Page Checkout for Virtuemart 2

cron