aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
index ce2644b8d..f335aa5c5 100644
--- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
+++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
@@ -273,10 +273,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
{
var param = item.Trim().Split('=', 2);
- if (param.Length == 2)
- {
- result[param[0]] = param[1].Trim('"');
- }
+ result[param[0]] = param[1].Trim('"');
}
return result;