forgejo/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
branch.go Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
collaborators.go
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
git_ref.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
hook.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
hook_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
issue.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.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
language.go
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
mirror.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
notes.go
pull.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
pull_review.go
release.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
repo.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
repo_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
tree.go
wiki.go Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00