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

[release/8.0] YARP: add special-case for localhost when setting Host value #4076

Merged
merged 1 commit into from
May 4, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 3, 2024

Backport of #4069 to release/8.0

/cc @ReubenBond

Customer Impact

This fix is localized to the YARP Service Discovery integration. It fixes the localhost+HTTPS scenario from the linked bug: #3991. Previously, that would fail due to mismatch between the dev cert and the Host header.

Testing

Tests added, customer validated private build.

Risk

Very low. This behavior is localized to YARP+SD and only takes effect when a URI resolves to localhost and no Host value was explicitly set in YARP configuration.

Regression?

No

Microsoft Reviewers: Open in CodeFlow

@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label May 3, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels May 3, 2024
@danmoseley danmoseley added this to the GA milestone May 3, 2024
@davidfowl davidfowl merged commit 6ba3d80 into release/8.0 May 4, 2024
7 checks passed
@davidfowl davidfowl deleted the backport/pr-4069-to-release/8.0 branch May 4, 2024 00:26
@github-actions github-actions bot locked and limited conversation to collaborators Jun 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-service-discovery Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants