Username shows `(None)` when it should show `_mjog_`
A new contact created an account with underscores
i.e. _
in the Username.
The Username shows (None)
in the information.
Are underscores allowed in the username? Yes If not, should Jami check to ensure the username only contains valid characters before it is accepted in the Name server
?
Usernames are checked by a regex to ensure some rules about their format:
- Length must be between 3 and 32 characters
- Those characters must be alphanumerical with underscore
_
being also accepted.
Couldn't lookup in the Jami GNOME client
It is shown in the name server at http://ns.jami.net/name/_mjog_
. What is strange is that if you click on the following link http://ns.jami.net/name/mjog the trailing underscore does not get copied into the webbrowser only the address http://ns.jami.net/name/_mjog opens.
Should usernames not be allowed to have trailing underscores? Should this also be added to the test of usernames?
What do you think?
Thank you
Jami built on 2020-03-16 23:13:23 UTC
Linux Mint 19.3 Cinnamon