Beginning in .NET Framework 4.5, UTF-7 encoding is prohibited in xref:System.Web.HttpRequest?displayProperty=fullNames' bodies. Data for applications that depend on incoming UTF-7 data will not decode properly in some cases.
Ideally, applications should be updated to not use UTF-7 encoding in xref:System.Web.HttpRequest?displayProperty=fullNames. Alternatively, legacy behavior can be restored by using the aspnet:AllowUtf7RequestContentEncoding
attribute of the appSettings element.
Name | Value |
---|---|
Scope | Edge |
Version | 4.5 |
Type | Runtime |
- xref:System.Web.HttpRequest.ContentEncoding?displayProperty=nameWithType