[release/8.0] Fix Kestrel host header mismatch handling when port in Url by BrennanConroy · Pull Request #59403 · dotnet/aspnetcore (original) (raw)
Backport of #59352
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