aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommaso Stocchi <tommasostocchi@outlook.com>2020-12-14 13:15:21 +0100
committerTommaso Stocchi <tommasostocchi@outlook.com>2020-12-14 13:15:21 +0100
commitb611a108f89ab77b219aecc6d6155540f772cf32 (patch)
treeb548f10bc20bc3880e9c31ed8a05f606428d9137
parent305e5ebaf40d02f15664c49c26391531a548608d (diff)
-fix split on comma and double quotes
-rw-r--r--Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
index 354e03715..5d85facab 100644
--- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
+++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
@@ -265,7 +265,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
// Remove uptil the first space
authorizationHeader = parts[1];
- parts = authorizationHeader.Split("\",\"");
+ parts = authorizationHeader.Split("\",");
var result = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);