Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/III-4855 Enforce max limit on /labels endpoint #2007

Merged
merged 6 commits into from
Feb 24, 2025

Conversation

steftrenson
Copy link
Contributor

Changed

  • Calling the /labels endpoint without start and limit will now use sensible defaults.
  • Calling the /labels endpoint with a high limit will reduce this to 30 so that DOS attacks are less likely.

Ticket: https://jira.publiq.be/browse/III-4855

Copy link
Contributor

@LucWollants LucWollants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

To be sure, I started the acceptance tests, and they succeeded.

@LucWollants LucWollants merged commit 7c38430 into master Feb 24, 2025
10 checks passed
@LucWollants LucWollants deleted the bugfix/III-4855 branch February 24, 2025 10:01
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