KN4CK3R
9b1b4b5433
Refactor Webhook + Add X-Hub-Signature ( #16176 )
...
This PR removes multiple unneeded fields from the `HookTask` struct and adds the two headers `X-Hub-Signature` and `X-Hub-Signature-256`.
## ⚠️ BREAKING ⚠️
* The `Secret` field is no longer passed as part of the payload.
* "Breaking" change (or fix?): The webhook history shows the real called url and not the url registered in the webhook (`deliver.go`@129).
Close #16115
Fixes #7788
Fixes #11755
Co-authored-by: zeripath <art27@cantab.net>
2021-06-27 20:21:09 +01:00
..
2021-06-26 20:53:14 +01:00
2020-01-22 11:46:04 +08:00
2020-12-18 11:33:32 +08:00
2020-08-24 11:48:15 -04:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2021-06-27 20:21:09 +01:00
2019-07-08 10:14:12 +08:00
2020-02-09 14:33:03 +00:00
2020-09-05 13:38:54 -04:00
2019-12-31 03:21:21 -05:00
2021-01-21 15:51:52 +01:00
2019-12-27 20:30:58 +00:00
2021-02-14 00:07:17 +08:00
2019-05-11 18:21:34 +08:00
2019-08-26 16:09:10 +02:00
2020-09-20 19:10:53 -04:00
2019-05-11 18:21:34 +08:00
2021-03-03 23:44:30 +01:00
2019-05-30 13:57:55 -04:00
2021-06-18 01:24:55 +02:00
2021-03-28 00:37:51 +01:00
2020-06-07 20:13:40 +01:00
2020-04-18 11:47:15 -03:00
2020-11-28 21:30:46 +02:00
2019-05-11 18:21:34 +08:00
2021-02-07 15:43:40 +01:00
2021-01-29 16:57:45 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2021-06-17 18:04:10 +02:00
2019-09-03 23:46:24 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2021-04-08 18:25:57 -04:00
2021-04-15 18:53:57 +02:00
2020-12-18 11:33:32 +08:00
2019-10-13 21:23:14 +08:00
2020-03-02 00:05:44 +02:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2021-06-26 20:53:14 +01:00