forked from gitea/gitea
1
0
Fork 0
gitea/routers
zeripath 9d9ad1b59f
Only view milestones from current repo (#18414) (#18418)
Backport #18414

The endpoint /{username}/{reponame}/milestone/{id} is not currently restricted to
the repo. This PR restricts the milestones to those within the repo.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-26 22:09:35 +00:00
..
api/v1 Use common sessioner for API and web routes (#18114) 2021-12-28 22:15:01 +00:00
common Instead of using routerCtx just escape the url before routing (#18086) (#18098) 2021-12-26 10:32:04 +00:00
install Run Migrate in Install rather than just SyncTables (#17475) (#17486) 2021-10-30 10:28:11 +01:00
private Fix golangci-lint warnings (#17598 et al) (#17668) 2021-11-16 20:38:49 +00:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Only view milestones from current repo (#18414) (#18418) 2022-01-26 22:09:35 +00:00
init.go Use common sessioner for API and web routes (#18114) 2021-12-28 22:15:01 +00:00