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 feat(api): implement branch/commit comparison API (#30349) 2024-04-21 11:58:18 +02:00
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 [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
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