Skip to content

Wrong Link when referencing a commit hash on README.md #4536

Closed
@krombel

Description

@krombel
  • Gitea version (or commit ref): 1.5.0+rc2-2-g5a7830e0e

  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No (Bad Gateway)
    • Not relevant

Description

When adding a commit hash to README.md the hash gets linkyfied to
http://host/testOrg/testRepo1/src/branch/master/commit/<commitID> instead of
http://host/testOrg/testRepo1/commit/<commitID>

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions