0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 10:24:38 +01: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
branch.go Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
collaborators.go
commits.go
file.go
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_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
hook.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
label.go
language.go
main_test.go
migrate.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
milestone.go
mirror.go
notes.go
pull_review.go
pull.go
release_attachment.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
release_tags.go
release.go
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
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