We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 195f0cf commit 4d46481Copy full SHA for 4d46481
ManagedCode.MimeTypes/MimeHelper.cs
@@ -31,7 +31,7 @@ public static partial class MimeHelper
31
32
private static readonly Regex ScriptPattern = new(@"^(?:application|text)/(?:javascript|ecmascript|x-php|x-sh|x-shellscript|x-python|x-ruby|x-perl)$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
33
34
- private static readonly char[] QueryFragmentSeparators = { '?', '#' };
+ private static readonly SearchValues<char> QueryFragmentSeparators = SearchValues.Create(new[] { '?', '#' });
35
36
private static readonly HashSet<string> ScriptMimeSet = new(StringComparer.OrdinalIgnoreCase)
37
{
0 commit comments