Back to 10.2.0-ish

This commit is contained in:
Sebastiaan Janssen
2022-09-19 16:14:16 +02:00
parent 8de26c6098
commit 87c06f5f98
296 changed files with 4106 additions and 3401 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];
}