1234- / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
1 stars 0 forks source link

Raw Links Don't Work When A Group Shares Name With Repository #583

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create Repository Company/Software/Android.git
2. Create Repository Company/Software/Android/MyApp.git
3. Create file somefile.txt in MyApp repository.
3. Navigate to MyApp repository and go to the tree view.
4. Click on *raw* for somefile.txt
    - Your Browser navigates to https://myserver/raw/Company/Software/Android/MyApp.git/master/somefile.txt
    - Error Sorry, the repository Company/Software/Android does not have a MyApp.git branch!

What version of the product are you using? On what operating system?
1.6.2

Please provide any additional information below.
View links work OK but they escape the slashes in the repository name such the 
view link would be:

https://myserver/blob/Company%2FSoftware%2FAndroid%2FMyApp.git/master/somefile.t
xt

If I try escaping the repo name in the raw url, i get the same error: Sorry, 
the repository Company/Software/Android does not have a MyApp.git branch!

Original issue reported on code.google.com by jonat...@jacksonengineering.net on 15 Apr 2015 at 7:50