forgejo/routers
Gusted 2eac7b1402
[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.

(cherry picked from commit 6a49e3f468)

Co-authored-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-07-22 14:31:05 +02:00
..
api Load attachments for /issues/comments/{id} 2024-07-16 12:44:47 +00:00
common Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
install Always load or generate oauth2 jwt secret (#30942) 2024-05-24 15:15:07 +02:00
private fix(hook): repo admins are wrongly denied the right to force merge 2024-06-02 22:05:16 +02:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web [BUG] Fix panic on too high page number 2024-07-22 14:31:05 +02:00
init.go s/Gitea/Forgejo in various log messages and comments 2024-04-22 14:41:17 +00:00