1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/services/migrations
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
..
dump.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
error.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
git.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
gitbucket.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
gitea_downloader.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gitea_downloader_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
gitea_uploader.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gitea_uploader_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
github.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
github_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
gitlab.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gitlab_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
gogs.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
gogs_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
http_client.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
main_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
migrate.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
migrate_test.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
onedev.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
onedev_test.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
restore.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
update.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00