Files with names containing spaces cannot be deleted from web UI
Summary
When removing a file through the delete button in a repository, files containing spaces fail to delete.
Steps to reproduce
$ touch "file name.txt"
$ git add -A
$ git commit -m "sick file name, bro"
$ git push
Open Repository Click on file name to view contents Click Delete File button Click Delete File on dialogue
What is the current bug behavior?
File Delete fails, and error message is displayed. {{image.png}}
What is the expected correct behavior?
Just delete the file and escape the necessary characters (space).
Possible fixes
Escape (urlencode, base64 encode) the file name when deleting if special characters causes the issue.
Edited by Samuel Kelemen

