Revert files that shouldn't change back in v11

This commit is contained in:
Sebastiaan Janssen
2022-09-19 16:37:24 +02:00
parent 85147fb5e8
commit db5d05d641
201 changed files with 933 additions and 1859 deletions

View File

@@ -65,7 +65,7 @@ public static class HttpContextExtensions
/// <summary>
/// Get the value in the request form or query string for the key
/// </summary>
public static string GetRequestValue(this HttpContext context, string key)
public static string? GetRequestValue(this HttpContext context, string key)
{
HttpRequest request = context.Request;
if (!request.HasFormContentType)
@@ -73,7 +73,7 @@ public static class HttpContextExtensions
return request.Query[key];
}
string value = request.Form[key];
string? value = request.Form[key];
return value ?? request.Query[key];
}