Ted Johansson
752a2cc654
DEV: Handle bad parameters in TopicsController#wordpress ( #23404 )
...
We're seeing a large number of log noise from this endpoint due to malicious scanners that are trying to send clever params and seeing if they can break something.
This change simply rescues any NoMethodError during parameter parsing and re-raises a Discourse::InvalidParameters exception, which will be caught and render a 400.
2023-09-05 16:35:46 +08:00
..
2023-07-28 12:53:46 +01:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-08-31 08:50:06 -04:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-06-01 05:27:11 +03:00
2023-08-04 10:53:22 +08:00
2023-01-09 14:14:59 +00:00
2023-01-31 01:41:25 +08:00
2023-05-25 14:53:59 +02:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-07-31 15:00:05 +01:00
2023-01-09 14:14:59 +00:00
2023-07-28 12:53:46 +01:00
2023-06-07 17:19:58 -05:00
2023-01-09 14:14:59 +00:00
2023-02-28 14:31:59 +02:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-20 12:52:49 -06:00
2023-01-09 14:14:59 +00:00
2023-05-29 14:47:18 -07:00
2023-01-09 14:14:59 +00:00
2023-08-24 08:50:20 +08:00
2023-08-08 11:18:55 +10:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-07-28 12:53:48 +01:00
2023-03-30 09:00:42 +08:00
2023-02-03 16:48:05 -03:00
2023-01-09 14:14:59 +00:00
2023-07-28 12:53:46 +01:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-07-28 12:53:46 +01:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-07-28 12:53:46 +01:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-08-18 15:30:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-08-08 15:15:34 -04:00
2023-08-18 08:39:10 -04:00
2023-07-11 15:25:01 -06:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-01-23 14:48:33 +10:00
2023-01-17 12:49:42 +00:00
2023-01-09 14:14:59 +00:00
2023-06-12 12:49:26 +02:00
2023-05-17 14:25:06 +08:00
2023-07-28 12:53:46 +01:00
2023-07-28 12:53:46 +01:00
2023-02-13 12:39:45 +08:00
2023-09-05 16:35:46 +08:00
2023-05-18 10:36:34 +02:00
2023-06-05 19:24:22 +08:00
2023-01-09 14:14:59 +00:00
2023-02-21 10:30:48 +01:00
2023-07-31 15:00:05 +01:00
2022-11-24 19:16:28 +04:00
2023-08-31 09:11:23 -04:00
2023-08-18 08:39:10 -04:00
2023-06-08 20:06:20 +03:00
2023-01-09 14:14:59 +00:00