Directory / folder in repository with spaces in the name results in an empty page from repository browser v.8.17.4
Summary
When a repository contains directories / folders with spaces in the names the commit will be accepted into the repository. However when browsing the repo on GitLab these directories cannot be accessed, resulting an empty (white) page without any errors. For example, link: http://myurl.com/root/proj/tree/master/trunk/folder%20with%20spaces
Steps to reproduce
Checked on gitlab version: 8.15.3 - works fine.
What is the current bug behavior?
blank page when I try to open folder which includes spaces in the name
What is the expected correct behavior?
I should see files inside folder
Results of GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Sidekiq Version:4.2.7
GitLab information Version: 8.17.4 Revision: 3d2890c8 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://myurl.com HTTP Clone URL: https://myurl.com/some-group/some-project.git SSH Clone URL: git@myurl.com:some-group/some-project.git Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 4.1.1 Repository storage paths:
- default: /mnt/repositories/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Success
related issue: https://gitlab.com/gitlab-com/support-forum/issues/952