Skip to content

Commit

Permalink
fix wrong webcache gachalog url query
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed Oct 18, 2024
1 parent bfe2f75 commit 2d4440d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public async ValueTask<ValueResult<bool, GachaLogQuery>> GetQueryAsync()
int index = span.LastIndexOf(match);
if (index >= 0)
{
index += match.Length;
int length = span[index..].IndexOf("\0"u8);
return Encoding.UTF8.GetString(span.Slice(index, length));
}
Expand Down

0 comments on commit 2d4440d

Please sign in to comment.