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

  1. Change your profile name to ..
  2. Navigate to any file in a repository, for example, the README.md.
  3. Edit the file.
  4. Make a change to the file.
  5. Try to commit the change.

Example Project

This works on any project.

What is the current bug behavior?

An error is displayed on Commit:

commit_fail

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 Nov 12, 2018 by Antony Saba
Assignee Loading
Time tracking Loading