0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 02:11:32 +08:00
discourse/plugins/discourse-data-explorer/lib/tasks
Alan Guo Xiang Tan b99859cfc5
FIX: Enforce max limit for data explorer queries (#38320)
Non-admin users with group-level query access could pass `limit=ALL` or
an arbitrarily large integer to bypass the row limit cap on data
explorer queries.

This commit removes support for the `ALL` value for the `limit` query
param since it is unbounded.

We consider this a security hardening fix instead of a security flaw
since there are many conditions for this code path to be exploited and
those conditions are quite rare.
2026-03-06 14:43:43 +08:00
..
data_explorer.rake
fix_query_ids.rake
javascript.rake