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(client): use the latest host in Location header when redirect #1246

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

welkeyever
Copy link
Member

@welkeyever welkeyever commented Dec 10, 2024

What type of PR is this?

fix

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

修复:使用 location header 中的 uri 的 host 做为 redirect 请求的 host

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: If not delete this line, it will cause subsequent requests to redirect the host to always be the host of the first request. For scenarios where different hosts are redirected, this may cause problems
zh(optional): 如果不删除这行,会导致重定向的后续请求 host 始终为第一次请求的 host,对于重定向不同 host 的场景,这个可能导致问题

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation:

@welkeyever welkeyever requested review from a team as code owners December 10, 2024 11:57
FGYFFFF
FGYFFFF previously approved these changes Dec 11, 2024
@welkeyever welkeyever merged commit e644b1c into develop Dec 11, 2024
34 of 35 checks passed
@welkeyever welkeyever deleted the fix/wrong_host_in_client_redirect branch December 11, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants