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. |
||
|---|---|---|
| .. | ||
| dump.go | ||
| error.go | ||
| git.go | ||
| gitbucket.go | ||
| gitea_downloader_test.go | ||
| gitea_downloader.go | ||
| gitea_uploader_test.go | ||
| gitea_uploader.go | ||
| github_test.go | ||
| github.go | ||
| gitlab_test.go | ||
| gitlab.go | ||
| gogs_test.go | ||
| gogs.go | ||
| http_client.go | ||
| main_test.go | ||
| migrate_test.go | ||
| migrate.go | ||
| onedev_test.go | ||
| onedev.go | ||
| restore.go | ||
| update.go | ||