]> source.dussan.org Git - gitea.git/commit
Only allow webhook to send requests to allowed hosts (#17482)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 1 Nov 2021 08:39:52 +0000 (16:39 +0800)
committerGitHub <noreply@github.com>
Mon, 1 Nov 2021 08:39:52 +0000 (16:39 +0800)
commit599ff1c054e436daa4dc3f049aa8661d9c2395f9
tree800983fd2e9d9de3dd1977738d18b64df34dd9ea
parent4e8a81780ed4ff0423e3a2ac7f75265e362ca46d
Only allow webhook to send requests to allowed hosts (#17482)
cmd/web.go
custom/conf/app.example.ini
docs/content/doc/advanced/config-cheat-sheet.en-us.md
modules/hostmatcher/hostmatcher.go [new file with mode: 0644]
modules/hostmatcher/hostmatcher_test.go [new file with mode: 0644]
modules/migrations/migrate.go
modules/setting/webhook.go
modules/util/net.go [new file with mode: 0644]
services/webhook/deliver.go