gitlabhq/gitlabhq — pull request #2484 by netdata (2013-01-04 14:09:09+00:00)
Title: Fixing request.fullpath URL encoding

Let's assume your path is = "project/tree/master/This%20Is%20valid"
In this case gitlab renders a 404.

To fix this we should decode the path so that it looks like
"project/tree/master/This Is valid"