Skip to content

Broken images url in commit #2976

@fintara

Description

@fintara
  • Gitea version (or commit ref): 1.3.0+rc1
  • Git version: 2.15.0
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Images in commit have the following URL:
/$USER/$REPO/raw/$COMMIT/$PATH/$FILENAME
has to be:
/$USER/$REPO/raw/commit/$COMMIT/$PATH/$FILENAME

I believe it was fine before 1.3.0-rc1.

Screenshots

screenshot_2017-11-26_12-14-39

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions