Can't commit edits in UI when profile name only contains `.` characters
Summary
Edits to a files made through the UI can't be committed when profile name contains only ..
Steps to reproduce
- Change your profile name to
.. - Navigate to any file in a repository, for example, the
README.md. -
Editthe file. - Make a change to the file.
- Try to commit the change.
Example Project
This works on any project.
What is the current bug behavior?
An error is displayed on Commit:
What is the expected correct behavior?
Commit should complete successfully.
Output of checks
This bug happens on GitLab.com.
Possible fixes
Profile names that consist entirely of invalid characters for commits should be restricted.
Edited by Antony Saba
