forgejo/routers/web/repo
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
..
actions
badges
flags
setting
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
code_frequency.go
commit.go [BUG] Fix panic on too high page number 2024-07-21 02:01:54 +02:00
compare.go
contributors.go
download.go
editor.go
editor_test.go
find.go
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go
issue_content_history.go
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go
projects_test.go
pull.go
pull_review.go
pull_review_test.go
recent_commits.go
release.go
release_test.go
render.go
repo.go
search.go
topic.go
treelist.go
view.go
view_test.go
wiki.go
wiki_test.go