You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
A Content-type header containing application/json;charset=garbage where the system had no configured Encoding for garbage is treated as if the Content-type header did not mention the charset at all. That is, the JsonInputFormatter attempted to deserialize the request body using its slight reconfiguration of Encoding.UTF8. Such cases should instead result in an HTTP/415, Unsupported Media Type response.
Found while investigating #5351 and fixed in original PR for that bug (#5415).
The text was updated successfully, but these errors were encountered:
A
Content-type
header containingapplication/json;charset=garbage
where the system had no configuredEncoding
forgarbage
is treated as if theContent-type
header did not mention thecharset
at all. That is, theJsonInputFormatter
attempted to deserialize the request body using its slight reconfiguration ofEncoding.UTF8
. Such cases should instead result in an HTTP/415, Unsupported Media Type response.Found while investigating #5351 and fixed in original PR for that bug (#5415).
The text was updated successfully, but these errors were encountered: