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

[backport -> release/3.8.x] fix(admin): reject AdminAPI call with empty tags #13813

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

team-gateway-bot
Copy link
Collaborator

Automated backport to release/3.8.x, triggered by a label in #13723.

Original description

Summary

When querying entities that have tags assigned a user can send a request with tags parameter. Previously sending tags= (empty parameter) resulted in 500 error. This commit changes that so that it returns 400 error as empty explicit tags are not allowed.

Checklist

Issue reference

KAG-5496
Fix #13591

@team-gateway-bot team-gateway-bot added this to the 3.8.1 milestone Oct 30, 2024
@team-gateway-bot team-gateway-bot added author/community PRs from the open-source community (not Kong Inc) cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/admin-api size/M labels Oct 30, 2024
@team-gateway-bot team-gateway-bot removed the author/community PRs from the open-source community (not Kong Inc) label Oct 30, 2024
@locao locao merged commit 3fff409 into release/3.8.x Oct 30, 2024
53 checks passed
@locao locao deleted the backport-13723-to-release/3.8.x branch October 30, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/admin-api size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants