404 not found error while clicking on file list on find file page due to URL encoding

Summary

404 not found error while clicking on the file list on the find file page.

Steps to reproduce

  1. Go to any Project Repository
  2. Click on Find File button
  3. Click on any file in file listing

What is the current bug behavior?

Currently, 404 Not found error due to URL encoding issue. After clicking, URL in the browser is "https://git.xxxxxxx.com/Laravel/xxxxx/blob/master/admin%2F.angular-cli.json"

What is the expected correct behavior?

After clicking, URL in the browser is "https://git.xxxxxxx.com/Laravel/xxxxx/blob/master/admin/.angular-cli.json"

Output of checks

This is happening after the upgrade the community edition version to 12.3.4.

Results of GitLab application Check

System information
System:		Ubuntu 18.04
Current User:	git
Using RVM:	no
Ruby Version:	2.6.3p62
Gem Version:	2.7.9
Bundler Version:1.17.3
Rake Version:	12.3.2
Redis Version:	3.2.12
Git Version:	2.22.0
Sidekiq Version:5.2.7
Go Version:	unknown

GitLab information
Version:	12.3.4
Revision:	f33961a3395
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	10.9
URL:		http://git.xxxxxxx.com
HTTP Clone URL:	http://git.xxxxxxx.com/some-group/some-project.git
SSH Clone URL:	git@git.xxxxxxx.com:some-group/some-project.git
Using LDAP:	no
Using Omniauth:	yes
Omniauth Providers: 

GitLab Shell
Version:	10.0.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
Edited Oct 04, 2019 by Haresh Vidja
Assignee Loading
Time tracking Loading