We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b0571 commit 694431cCopy full SHA for 694431c
src/Authentication/Authentication/Helpers/ContentHelper.cs
@@ -82,7 +82,7 @@ private static bool CheckIsOctetStream(string contentType)
82
return isOctetStream;
83
}
84
85
- private static bool IsPlainText(string contentType) => string.Equals(contentType.ToLower(CultureInfo.InvariantCulture), "text/plain");
+ private static bool IsPlainText(string contentType) => contentType.Equals("text/plain", StringComparison.OrdinalIgnoreCase);
86
87
// used to split contentType arguments
88
private static readonly char[] ContentTypeParamSeparator = { ';' };
0 commit comments