0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 11:24:35 +01:00
gitea/routers/web/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
..
activity.go
attachment.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
blame.go
branch.go
commit.go
compare.go Remove unused user paramater (#17723) 2021-11-19 08:37:13 +00:00
download.go
editor.go
editor_test.go
http.go
http_test.go
issue.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_content_history.go
issue_dependency.go
issue_label.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
migrate.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
milestone.go
projects.go
projects_test.go
pull.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
pull_review.go
release.go
release_test.go
repo.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
search.go
setting.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
setting_protected_branch.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
settings_test.go
tag.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
topic.go
view.go
webhook.go
wiki.go
wiki_test.go