Hi Ayushi,
Thanks for your concern and reporting. In OFBiz we use email address as
user name. So all the characters allowed in email address should be allowed
in user name.
In your case it seems you are not using email address as user name, in that
case as well I would say email address practices should follow. As it is
globally accepted and known to general users.
If community agree on some point to allow other characters in user name
then we should look for the practices adaption at global level and then we
can decide how should we proceed. Again my vote is to go with email address
practice which is already accepted at [1].
[1]
https://en.wikipedia.org/wiki/Email_addressBest Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems <
http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*
<
https://www.linkedin.com/in/rishi-solanki-62271b7/>
Direct: +91-9893287847
On Sat, Mar 30, 2019 at 1:00 PM Ayushi Rathod <
[hidden email]>
wrote:
> Hello All,
>
> While exploring e-commerce I found that when I register as a new customer
> with a space in the username field, a weird server side error is shown on
> the UI.
>
> The question arrives here, whether space or any other characters should be
> allowed in the username or not.
>
> In my opinion, space should not be allowed in the username and the possible
> way to handle is that we can add client and server side validations to
> check if the username matches the regex.
>
> This issue has been reported under OFBIZ-10671. Please let me know your
> view on it so that we can fix the issue.
>
> Thanks in advance!!
>
> Kind Regards,
> *Ayushi Rathod*
> HotWax Systems <
http://www.hotwaxsystems.com/>
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore,
> M.P 452010
> Linkedin: *Ayushi Rathod*
> <
https://www.linkedin.com/in/ayushi-rathod-0b7505b6/>
>