Weblate · Report #243664
Error Message When Changing Username
Validstatus
4upvotes
17 Aug 2017disclosed
Summary
This was just a simple user interface bug I found and submitted to Weblate.
How it was found
Hello,
Description:
I have found a bug in your fix other my other report, #243609. I reported this in a new report as this is an error in the error message.
When changing your username that starts with a . the error message is:
Username may only contain letters, numbers or the following characters: @ . + - _
A normal user would be confused as it does not state any reason for the . not being allowed at the beginning of their username.
POC:
- Change your username to a name that starts with a
.. - You will receive an error message that does not explain why this is not excepted.
Mitigation:
I recommend you add a specific error message that states that your username cannot start with a ..
Thanks!