mirror of
1
Fork 0
forgejo/routers
Gusted d27bcd98a4
[GITEA] Add repo empty check for branch feed
- If you attempted to get a branch feed on a empty repository, it would
result in a panic as the code expects that the branch exists.
- `context.RepoRefByType` would normally already 404 if the branch
doesn't exist, however if a repository is empty, it would not do this
check.
- Fix bug where `/atom/branch/*` would return a RSS feed.
2023-10-23 18:57:00 +02:00
..
api [v1.22] [GITEA] Drop sha256-simd in favor of stdlib 2023-10-23 15:28:16 +02:00
common
install [GITEA] Add password length check on install page 2023-10-23 15:14:46 +02:00
private [CLI] implement forgejo-cli 2023-10-23 13:46:52 +02:00
utils
web [GITEA] Add repo empty check for branch feed 2023-10-23 18:57:00 +02:00
init.go [API] Forgejo API /api/forgejo/v1 2023-10-23 14:16:23 +02:00