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 5403eed commit 5d8bc65Copy full SHA for 5d8bc65
RobotsTxt/RobotsMatcher.cs
@@ -82,7 +82,7 @@ public void HandleUserAgent(int lineNum, ReadOnlySpan<byte> userAgent)
82
}
83
84
85
- readonly byte[] _indexHtmBytes = Encoding.ASCII.GetBytes("/index.htm");
+ readonly byte[] _indexHtmBytes = "/index.htm"u8.ToArray();
86
87
public void HandleAllow(int lineNum, ReadOnlySpan<byte> value)
88
{
0 commit comments