Broken images url in commit #1277

Closed
opened 2025-11-02 03:55:08 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @fintara on GitHub (Nov 26, 2017).

  • 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

Originally created by @fintara on GitHub (Nov 26, 2017). - Gitea version (or commit ref): 1.3.0+rc1 - Git version: 2.15.0 - Operating system: Arch Linux - Database (use `[x]`): - [ ] PostgreSQL - [x] 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](https://user-images.githubusercontent.com/4290594/33239521-91612466-d2a3-11e7-8402-38948297f76d.png)
GiteaMirror added the type/bug label 2025-11-02 03:55:08 -06:00
Author
Owner

@lafriks commented on GitHub (Nov 26, 2017):

I have submitted PR to fix this

@lafriks commented on GitHub (Nov 26, 2017): I have submitted PR to fix this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1277