1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/routers/api/v1/repo
wxiaoguang 013fb73068
Use hostmatcher to replace matchlist, improve security (#17605)
Use hostmacher to replace matchlist.

And we introduce a better DialContext to do a full host/IP check, otherwise the attackers can still bypass the allow/block list by a 302 redirection.
2021-11-20 17:34:05 +08:00
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
collaborators.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
commits.go Add API to get commit diff/patch (#17095) 2021-09-20 18:14:29 +02:00
file.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
fork.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
git_hook.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
git_ref.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
hook_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
hook.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
issue_comment.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
issue_label.go Calculate label URL on API (#16186) 2021-09-10 18:03:16 +02:00
issue_reaction.go [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
issue_stopwatch.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
issue_subscription.go [refactor] Unify the export of user data via API (#15144) 2021-03-27 17:45:26 +01:00
issue_tracked_time.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
issue.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
key.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
label.go Calculate label URL on API (#16186) 2021-09-10 18:03:16 +02:00
language.go Add language statistics API endpoint (#11737) 2020-06-07 14:48:41 +03:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
migrate.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
milestone.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
mirror.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
notes.go Add an api endpoint to fetch git notes (#15373) (#16649) 2021-08-11 03:01:40 +02:00
pull_review.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
pull.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
release_attachment.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
release_tags.go [API] Add delete release by tag & fix unreleased inconsistency (#14563) 2021-02-07 19:32:18 +01:00
release.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
repo_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
repo.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
star.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
status.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
subscriber.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
tag.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
teams.go [API] List, Check, Add & delete endpoints for repository teams (#13630) 2021-02-01 22:57:12 +01:00
topic.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
transfer.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
tree.go Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
wiki.go Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00