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

fix(entities-shared): exact match should strip trailing slash #1744

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

Justineo
Copy link
Contributor

@Justineo Justineo commented Oct 28, 2024

Summary

KM-639

The following request URLs do not work unless we strip the trailing slash.

  • /v2/control-planes/{control-plane-id}/core-entities/key-sets/{query}/
  • /v2/control-planes/{control-plane-id}/core-entities/key/{query}/
  • /v2/control-planes/{control-plane-id}/core-entities/key-sets/{key-set-id}/keys/{query}/

So we remove them to at least make them work.

Also added some comments for filter types.

@Justineo Justineo requested review from a team as code owners October 28, 2024 04:04
@Justineo Justineo marked this pull request as draft October 28, 2024 04:44
@Justineo Justineo marked this pull request as ready for review October 28, 2024 05:13
@Justineo Justineo merged commit 459d9c4 into main Oct 28, 2024
23 checks passed
@Justineo Justineo deleted the fix/keys-filter branch October 28, 2024 05:32
filipgutica pushed a commit that referenced this pull request Oct 31, 2024
* fix(entities-shared): exact match should strip trailing slash

* test(entities-shared): update test for exact match url
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.

2 participants