forgejo/routers
Gusted 6a49e3f468
[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>
2024-07-21 02:01:54 +02:00
..
api Remove hardcoded filenames for better readability 2024-07-17 23:20:48 +02:00
common
install
private
utils
web [BUG] Fix panic on too high page number 2024-07-21 02:01:54 +02:00
init.go