-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm] fix SendAsync_GetWithInvalidHostHeader_ThrowsException - doesn't throw on WASM #53874
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsSystem.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_GetWithInvalidHostHeader_ThrowsException on WASM in browser expects
|
- move tests to inner loop - more granular ActiveIssue dotnet#53592 for lack of TRACE - more granular ActiveIssue dotnet#53591 for content on GET/HEAD - more granular ActiveIssue dotnet#53874 for HttpRequestMessage.Headers.Host - more granular ActiveIssue dotnet#53872 for NPE on System.Net.Http.BrowserHttpHandler - fix HTTP vs HTTPS test configuration `Http2SecureRemoteEchoServer` - include echo middleware in xharness server - include middleware in Helix correlation payload
I'm not sure how serious this one is, it looks like we're missing validation on an invalid header and we might end up pulling in a lot of code to do that validation, but someone should take a look. |
- move tests to inner loop - include echo middleware in xharness server - improve doc - more granular ActiveIssue #53592 for lack of TRACE - more granular ActiveIssue #53591 for content on GET/HEAD - more granular ActiveIssue #53874 for HttpRequestMessage.Headers.Host - more granular ActiveIssue #53872 for NPE on System.Net.Http.BrowserHttpHandler - more granular ActiveIssue #53876 - include middleware in Helix correlation payload
@pavelsavara, what do you think about @lewing's hypothesis? |
Perhaps it's not that bad ? runtime/src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpRequestHeaders.cs Line 116 in 3c33b42
|
System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_GetWithInvalidHostHeader_ThrowsException on WASM in browser expects
HttpRequestMessage.Headers.Host
validation.The text was updated successfully, but these errors were encountered: