Skip to content

Conversation

@LukasReschke
Copy link
Member

Backport of #28728

@LukasReschke
Copy link
Member Author

Test plan:

  • Disable the memory cache in config.php
  • Enable the "Q&A Testing App" in the app settings
  • Go to /index.php/apps/testing/userAndAnonProtected and click a few times. Verify that the requests fails due to hitting the ratelimit.
  • Verify that expired ratelimit entries are removed on requests

In case no distributed memory cache is specified this adds
a database backend for ratelimit purposes.

Signed-off-by: Lukas Reschke <[email protected]>
Signed-off-by: Lukas Reschke <[email protected]>
@LukasReschke LukasReschke force-pushed the backport/28728/stable20 branch from e6e6738 to 20c1ba6 Compare September 13, 2021 15:23
@LukasReschke LukasReschke merged commit 4d0af34 into stable20 Sep 13, 2021
@LukasReschke LukasReschke deleted the backport/28728/stable20 branch September 13, 2021 16:38
@blizzz blizzz mentioned this pull request Sep 23, 2021
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants