mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 06:03:09 +00:00
core: Fix cache collision for non ASCII characters (#12517)
This commit is contained in:
parent
6b3238e2dd
commit
9147549e2f
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ namespace Jackett.Common.Services
|
|||
{
|
||||
var json = GetSerializedQuery(query);
|
||||
// Compute the hash
|
||||
return BitConverter.ToString(_sha256.ComputeHash(Encoding.ASCII.GetBytes(json)));
|
||||
return BitConverter.ToString(_sha256.ComputeHash(Encoding.UTF8.GetBytes(json)));
|
||||
}
|
||||
|
||||
private static string GetSerializedQuery(TorznabQuery query)
|
||||
|
|
Loading…
Add table
Reference in a new issue