-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Add an option to interpret request headers as Latin1 encoded #17399
Comments
Sounds great, thank you! If I understand what you've written this it means:
|
Yes, that is correct. |
Will there be a corresponding response header flag, to round-trip opaque data? Like
|
We are considering this for 5.0, but so far it seems like this doesn't meet the bar for a 3.1 patch. |
De-milestoned to make this come up in triage again for awareness. |
@halter73 when could you have bandwidth to start this? I'm busy for a few days. |
I can start looking into this tomorrow between my build rotation responsibilities. |
@davidfowl what was the reasoning for not using an AppContext switch? It seems more straightforward and I'd like to keep this super simple to avoid risk. |
AppContext switches are static and therefor untestable. |
Kestrel already reads config for binding information, reading more does not require any new infrastructure. |
This was implemented in #18255 and will be released in 3.1.3 |
We have customers interested in treating incoming request headers as Latin1-encoded but our default logic only supports UTF-8.
In a 3.1 patch we should provide:
string
from that set of characters, instead of interpreting bytes as UTF-8.This would allow a consumer to reinterpret the data in this string as a UTF-8 sequence if desired.
In 5.0 we'll look at broader work to improve this experience. The 3.1 goals are scoped down to specific requests we've received.
The text was updated successfully, but these errors were encountered: