Use string.Trim(char) instead of string.Trim(char[]) where possible

This commit is contained in:
Bond_009 2020-11-14 15:49:31 +01:00
parent bc7359f87d
commit 9041389f65
No known key found for this signature in database
GPG Key ID: 63AB4E6262A96A87
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
if (param.Length == 2)
{
var value = NormalizeValue(param[1].Trim(new[] { '"' }));
var value = NormalizeValue(param[1].Trim('"'));
result[param[0]] = value;
}
}