Bad Request: "Malformed request: invalid headers" with Umlaut in Header #7707
Labels
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Describe the bug
I've noticed you're allowing UTF-8 HTTP Headers since 2.2. (aspnet/KestrelHttpServer#1144). Unfortunately, I still get HTTP 400 back with "Malformed request: invalid headers." for headers with eg. umlauts.
To Reproduce
Steps to reproduce the behavior:
Surprisingly, I tried the same thing on macos and there it worked as expected (same sdk version).
Expected behavior
Kestrel accepts headers with Umlauts.
Additional context
I get the error with Kestrel directly, without any reverse proxy configured.
The text was updated successfully, but these errors were encountered: