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

k.response.redirect("/relativepath") should use BaseURL/current instead of actual Kestrel running port #178

Open
Smilefounder opened this issue Jan 3, 2021 · 0 comments

Comments

@Smilefounder
Copy link
Contributor

Smilefounder commented Jan 3, 2021

Hi @koobooteam , @huanent ,

There is an issue if I am using:

When using k.response.redirect("/relativepath") it will redirect me to http://domain.com:81/relativepath (without https) instead of https://domain.com/relativepath

Kindly reconfirm on the issue.

@Smilefounder Smilefounder changed the title k.response.redirect("/relativepath") should use BaseURL instead of RevertProxy URL k.response.redirect("/relativepath") should use BaseURL/current instead of actual Kestrel running port Jan 3, 2021
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

No branches or pull requests

1 participant