1
1
mirror of https://github.com/go-gitea/gitea synced 2024-10-31 23:34:25 +00:00
gitea/modules/repository
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
..
branch.go Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
check.go Move user functions into user.go (#17659) 2021-11-18 13:58:42 +08:00
commits_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
commits.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
create_test.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
create.go Ensure that git daemon export ok is created for mirrors (#17243) 2021-10-13 20:47:02 +01:00
generate.go Ensure that git daemon export ok is created for mirrors (#17243) 2021-10-13 20:47:02 +01:00
hooks.go Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
init.go Move some functions into services/repository (#17660) 2021-11-16 21:30:11 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
push.go Fix a bug on refactoring (#13373) 2020-10-31 23:42:54 +08:00
repo.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00