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

preserve query params on cluster redirect #539

Conversation

Assem-Uber
Copy link
Contributor

When a url that doesn't include cluster is opened, user is automatically redirected to the active cluster. The redirection logic has an issue as it ignores queryParams that existed in the url before the automatic redirection.

The fix is to add the existing query params to the redirection route.

Copy link
Contributor

@adhityamamallan adhityamamallan left a comment

Choose a reason for hiding this comment

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

LGTM

@Assem-Uber Assem-Uber merged commit 6acd844 into uber:master Feb 19, 2024
4 checks passed
@Assem-Uber Assem-Uber deleted the CDNC-7693-fix-trimming-url-query-params-on-cluster-redirect branch February 19, 2024 14:50
@Assem-Hafez Assem-Hafez mentioned this pull request Mar 27, 2024
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.

None yet

2 participants