Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gitblit opened this issue Aug 12, 2015 · 1 comment
Closed

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

gitblit opened this issue Aug 12, 2015 · 1 comment

Comments

@gitblit
Copy link
Collaborator

gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 583

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.txt

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!

Reported by jonathan@jacksonengineering.net on 2015-04-15 19:50:54

@flaix
Copy link
Member

flaix commented Nov 9, 2020

I cannot reproduce this with 1.9.1, and the current code does not suggest any problems with such a setup.
This was most probably fixed with commit 2b1e029, which is part of version 1.8.0.
So I am assigning this to version 1.8.0, setting it to fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants