1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 01:54:26 +00:00
gitea/routers/api/v1
6543 33c2c49627
Prevent panic when editing forked repos by API (#14960) (#14963)
When editing forked repos using the API the BaseRepository needs to loaded
in order to check its visibility otherwise there will be NPE panic.

Fix #14956

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2021-03-12 08:54:18 +08:00
..
admin Validate email before inserting/updating (#13475) (#13666) 2020-11-22 12:31:35 -05:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify API: Fix GetQueryBeforeSince (#13561) 2020-11-19 02:21:21 +00:00
org HotFix: Hide private partisipation in Orgs (#13994) (#14031) 2020-12-17 22:32:24 +01:00
repo Prevent panic when editing forked repos by API (#14960) (#14963) 2021-03-12 08:54:18 +08:00
settings fix: case typo (#13049) 2020-10-06 12:16:16 -04:00
swagger [API] GetCombinedCommitStatusByRef always return json & swagger doc fixes (#14047) 2020-12-18 13:38:47 +00:00
user Validate email before inserting/updating (#13475) (#13666) 2020-11-22 12:31:35 -05:00
utils HotFix: Hide private partisipation in Orgs (#13994) (#14031) 2020-12-17 22:32:24 +01:00
api.go [API] Only Return Json (#13511) (#13565) 2020-11-15 16:29:16 +00:00