Explorar o código

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

Bond_009 %!s(int64=4) %!d(string=hai) anos
pai
achega
9041389f65

+ 1 - 1
Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs

@@ -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;
                 }
             }