Gitlab history 404 / Repository > Files > History / %2F instead of slash
Summary
History Button URL is https://gitlab.example.com/website/wordpress-theme/-/commits/master/trunk%2Fwp-site instead of https://gitlab.example.com/website/wordpress-theme/-/commits/master/trunk/wp-site
Steps to reproduce
Repository > files from project, click on a subfolder | Button: History
What is the current bug behavior?
Button URL links to 404-site with url encoded format.
404 - The page could not be found or you don't have permission to view it.
What is the expected correct behavior?
Use a slash / instead of %2F
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.6.5p114 Gem Version: 2.7.10 Bundler Version:1.17.3 Rake Version: 12.3.3 Redis Version: 5.0.7 Git Version: 2.26.2 Sidekiq Version:5.2.7 Go Version: unknown GitLab information Version: 12.10.1 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 11.7 Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 12.2.0 Repository storage paths: - default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git