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/9.0] Fix Kestrel host header mismatch handling when port in Url #59362

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 7, 2024

Backport of #59352 to release/9.0

/cc @BrennanConroy

Fix Kestrel host header mismatch handling when port in Url

Description

Fixes some validation of host headers in Kestrel if a non-default port is included in the request url.

Customer Impact

Valid requests will result in a 400 error response if they hit this case.
An internal partner team is hitting this currently.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Small bug fix with additional unit test coverage to make sure it works and doesn't regress in the future.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Dec 7, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0.x milestone Dec 7, 2024
@BrennanConroy BrennanConroy added Servicing-consider Shiproom approval is required for the issue Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Dec 9, 2024
@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants