Skip to content

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

@gitblit

Description

@gitblit

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions