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

interceptor: don't override Host header #746

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Conversation

similark
Copy link
Contributor

@similark similark commented Jul 31, 2023

As per my previous PR which was closed. Fixes #331
I believe this is relevant to quite some users, as there is no reasonable logic behind putting the target SVC.NAMESPACE as the value of the request's Host header.
Moreover, it breaks a lot of functionality.

Checklist

Fixes #331

@similark similark requested a review from a team as a code owner July 31, 2023 08:51
@JorTurFer
Copy link
Member

JorTurFer commented Jul 31, 2023

Lol, I closed the previous PR and I'm not sure why, probably I did it wrongly, sorry :(
Let me check if we have already implemented this feature

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the improvement!

@JorTurFer JorTurFer merged commit fe035b9 into kedacore:main Jul 31, 2023
18 checks passed
@JorTurFer
Copy link
Member

I have to apologize @similark , I closed your previous PR wrongly.

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.

Proxy redirection to the wrong URL
2 participants