Replace MD5 hash with a longer simple hash

This commit is contained in:
David Montesinos
2025-04-21 15:51:25 +02:00
parent 1b00fa74bc
commit e7acd14faa
2 changed files with 11 additions and 5 deletions

View File

@ -144,7 +144,7 @@ namespace Oqtane.Pages
etagInput += $":{Request.QueryString.Value}";
}
etag = Utilities.GenerateHashMD5(etagInput);
etag = Utilities.GenerateSimpleHash16(etagInput);
var header = "";
if (HttpContext.Request.Headers.TryGetValue(HeaderNames.IfNoneMatch, out var ifNoneMatch))