Wolftallemo
be556ef17b
FIX: Skip CSRF token check on webhook routes ( #16982 )
...
The `WebhookController` inherits directly from `ActionController::Base`. Since Rails 5.2, forgery protection has been enabled by default. When we applied those new defaults in 0403a8633b , it took effect on this controller and broke integrations.
This commit explicitly disables CSRF protection on these webhook routes, and updates the specs so they'll catch this kind of regression in future.
2022-06-13 15:36:45 +01:00
..
2022-06-01 14:54:23 +02:00
2022-05-17 13:06:08 -05:00
2020-05-23 00:56:13 -04:00
2022-06-08 14:30:41 +05:30
2021-12-09 12:30:27 +00:00
2021-03-17 08:55:23 +03:00
2022-05-24 11:13:21 +10:00
2022-06-01 10:49:53 +10:00
2022-04-18 11:16:30 +03:00
2019-05-13 09:31:32 +08:00
2019-10-02 14:01:53 +10:00
2020-04-02 11:16:38 -04:00
2021-06-22 13:00:04 -05:00
2022-02-16 07:57:35 +05:30
2021-01-27 10:29:24 -06:00
2021-12-08 21:46:54 +04:00
2021-06-23 14:55:17 -05:00
2020-08-03 16:59:54 +10:00
2022-04-19 18:24:38 -03:00
2019-10-08 14:15:08 +03:00
2020-08-28 11:46:53 -07:00
2020-10-09 12:51:24 +01:00
2021-11-25 09:34:39 +02:00
2022-05-17 13:06:08 -05:00
2022-03-24 14:50:44 +02:00
2020-07-13 19:13:17 +03:00
2021-01-29 07:44:49 +05:30
2020-02-12 12:11:28 +02:00
2022-05-17 09:56:06 +02:00
2022-05-05 09:48:22 +08:00
2022-02-01 15:26:58 -03:00
2021-11-30 13:36:14 -03:00
2019-05-13 09:31:32 +08:00
2020-10-22 12:50:22 +08:00
2020-03-23 16:31:07 -07:00
2020-11-05 12:18:26 -05:00
2021-03-11 08:21:24 -03:00
2019-12-03 11:32:45 -03:00
2022-05-23 10:07:15 +10:00
2021-10-26 21:15:20 +01:00
2020-11-06 10:33:19 +10:00
2019-05-13 09:31:32 +08:00
2022-04-21 16:26:34 +01:00
2020-07-14 12:36:19 -04:00
2021-05-26 09:47:35 +10:00
2021-11-30 12:55:25 +03:00
2020-02-28 10:53:11 +00:00
2022-05-24 11:31:24 -04:00
2022-06-02 16:10:48 +02:00
2020-07-24 10:43:09 +08:00
2021-08-17 14:05:51 -04:00
2022-04-12 10:33:59 -03:00
2022-05-11 13:42:34 +01:00
2019-10-02 14:01:53 +10:00
2021-07-26 14:22:54 +10:00
2022-04-28 11:51:03 +02:00
2021-04-21 19:15:53 +02:00
2022-04-21 13:13:52 +01:00
2021-04-28 23:12:08 +03:00
2022-05-23 10:07:15 +10:00
2022-05-26 09:53:01 +10:00
2022-02-23 15:46:40 +01:00
2022-04-28 11:51:03 +02:00
2022-06-01 17:12:06 -07:00
2021-07-16 11:13:00 +08:00
2022-05-27 13:15:14 +04:00
2022-05-27 13:15:14 +04:00
2021-11-25 09:34:39 +02:00
2022-06-13 15:36:45 +01:00
2019-10-02 14:01:53 +10:00