Open
Description
We pass headers to WinHTTP.dll without any validation of their values:
We should validate the values to be well-formed the same way as
SocketsHttpHandler
does:I.e. For ASCII chars.
See RFC for header values: https://www.rfc-editor.org/rfc/rfc9110.html#name-field-values
Note: it allows up to the full byte to allow encoding like Latin-1 for historical purposes.