1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-29 08:17:31 -04:00
gitea/services/webhook
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
..
deliver_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
deliver.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
dingtalk_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
dingtalk.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
discord_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
discord.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
feishu_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
feishu.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
general_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
general.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
matrix_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
matrix.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
msteams_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
msteams.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
payloader.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
slack_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
slack.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
telegram_test.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
telegram.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
webhook_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
webhook.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
wechatwork.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00