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

Hotfix: Fix Confluent Cloud changed "next" URI syntax for pagination #257

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

albrechtflo-hg
Copy link
Member

Confluent recently changed their URI syntax of their "next" URI in paginated responses, so Base64 "equal" signs are URI encoded (which is, frankly speaking, correct). As we split this string and use Spring's URI Builder to construct a new URI out of this, the %3D in the URI is encoded again, resulting in %253D, thus not working.

This hotfix constructs the target URI without using the URI Builder to avoid this issue.

@albrechtflo-hg albrechtflo-hg added the release PR shall create a Release. PR Only! label Dec 6, 2022
@albrechtflo-hg albrechtflo-hg merged commit b5cf994 into main Dec 6, 2022
@albrechtflo-hg albrechtflo-hg deleted the hotfix_ccloud_api_next_token branch December 6, 2022 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release PR shall create a Release. PR Only!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant