Set maximum limit for profile events
We are previously allowing to request for profile events with unlimited `limit`. That can result to possible DoS since a malicious user can request 1k events and it'll take a while to respond. Maximum limit is based on the existing `Kaminari.max_per_page` setting we have.
Showing
Please register or sign in to comment