1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
zeripath 5705f72fd6
Prevent panic when editing forked repos by API (#14960)
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>
2021-03-11 19:09:52 +01:00
..
admin Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api/v1 Prevent panic when editing forked repos by API (#14960) 2021-03-11 19:09:52 +01:00
dev
events Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
org
private Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
repo Fix migration context data (#14910) 2021-03-07 20:21:09 +01:00
routes Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
user Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
utils
home.go Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
init.go
install.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
metrics.go
swagger_json.go