0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/routers
Gusted 6837da596e [BUG] Fix panic on too high page number
- Fixes a panic where the file history router would panic if the page
number was set to a page where no commits would be returned. It now
returns a 404 in such case.
- Regresion of a5b1c1b0b3
- Panic log provided by @algernon.
- Minimal integration test added.

Co-authored-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit 6a49e3f468)
2024-07-21 06:00:22 +00:00
..
api Load attachments for /issues/comments/{id} 2024-07-16 12:45:20 +00:00
common
install Fix wrong error highlighting on install page (#4063) 2024-06-11 19:05:05 +00:00
private fix(hook): ignore unknown push options instead of failing 2024-07-02 20:18:33 +00:00
utils
web [BUG] Fix panic on too high page number 2024-07-21 06:00:22 +00:00
init.go s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00