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: redirect redirect/returnLink with query #129

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Conversation

nekolab
Copy link
Contributor

@nekolab nekolab commented Nov 24, 2023

Previously we always wrap the redirect link with { path }, causing query string lost when performing the redirect.

Support for returnLink in the URL query are also removed since they are not used anymore

PR reference

ref: https://github.com/Kong/kong-admin/pull/2941

@nekolab nekolab force-pushed the fix/redirect-path branch 2 times, most recently from 8640353 to 6bd5686 Compare November 27, 2023 07:27
Previously we always wrap the redirect link with `{ path }`,
causing query string lost when performing the redirect.

Support for `returnLink` in the URL query are also removed since
they are not used anymore

(adopted from Kong/kong-admin#2941)
Copy link
Member

@Leopoldthecoder Leopoldthecoder left a comment

Choose a reason for hiding this comment

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

Manually tested and LGTM

@nekolab nekolab merged commit 32b9352 into main Nov 28, 2023
19 checks passed
@nekolab nekolab deleted the fix/redirect-path branch November 28, 2023 09:30
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