mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-24 02:39:46 +08:00
security fix
This commit is contained in:
@@ -204,14 +204,8 @@ namespace System
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(value))
|
||||
{
|
||||
try
|
||||
{
|
||||
var buffer = value.Base64UrlDecodeToByteArray();
|
||||
return DMP<T>(buffer, cancellationToken);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
var buffer = value.Base64UrlDecodeToByteArray();
|
||||
return DMP<T>(buffer, cancellationToken);
|
||||
}
|
||||
return default;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user