Skip to content

Wrong links for breadcrumbs in edit file view #1151

Closed
@pgaskin

Description

@pgaskin
  • Gitea version (or commit ref): 5d40db6
  • Git version: 2.9.3
  • Operating system: Ubuntu 16.10
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (Just edit any file more than 1 directory deep)
    • No
    • Not relevant
  • Log gist: Not relevant

Description

The breadcrumb links on the edit file view are invalid. See the example below.

Example:

   Link Text: TestRepo                                       / Folder1                                               / Folder2
    Link URL: http://localhost/geek1011/TestRepo/src/master    http://localhost/geek1011/TestRepo/src/master/Folder1   http://localhost/geek1011/TestRepo/src/master/Folder2
Expected URL: http://localhost/geek1011/TestRepo/src/master    http://localhost/geek1011/TestRepo/src/master/Folder1   http://localhost/geek1011/TestRepo/src/master/Folder1/Folder2

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions