Username shows `(None)` when it should show `_mjog_`
A new contact created an account with
_ 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
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.
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?
Jami built on 2020-03-16 23:13:23 UTC
Linux Mint 19.3 Cinnamon