Skip to content

GetHost no consider "X-Forwarded-Port" #14547

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

Open
plusls opened this issue May 18, 2025 · 0 comments · May be fixed by #14548
Open

GetHost no consider "X-Forwarded-Port" #14547

plusls opened this issue May 18, 2025 · 0 comments · May be fixed by #14548
Labels
bug Something isn't working

Comments

@plusls
Copy link

plusls commented May 18, 2025

Describe the bug
Current GetHost function not consider "X-Forwarded-Port" header

func GetHost(req *http.Request) string {

It cause 2 issue:
#13001
#14238

When I remove header "X-Forwarded-Host" works

@plusls plusls added the bug Something isn't working label May 18, 2025
@plusls plusls linked a pull request May 18, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant