Uploading file via web interface into a folder that has a space in the name fails
Summary
At GitLab.com, Uploading file via web interface into a folder that has a space in the name fails and leads to a misleading error message. This problem was reported before but the issue was closed.
Steps to reproduce
- Create a folder with spaces in the name
- Navigate into it via Web UI
- Click on the plus sign and select
Upload file
- Drag and drop or click to upload any file (with or without spaces)
- Click
upload file
Expected behavior
- File created on Repository
- Message:
The file has been successfully created.
in the UI
Actual behavior
- File is not created
- An error message appears in the UI `Your changes could not be commited, because the file name can contain only letters, digits, '_', '-', '@' and '.'. Separate directories with a '/'.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab application Check
N/A
Results of GitLab environment info
N/A
Possible fixes
Sorry, I'm not fluent enough with the source to know where to find these validations