aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommaso Stocchi <tommasostocchi@outlook.com>2020-12-14 13:14:18 +0100
committerTommaso Stocchi <tommasostocchi@outlook.com>2020-12-14 13:14:18 +0100
commit305e5ebaf40d02f15664c49c26391531a548608d (patch)
treec028b8b44917eaa8b440a00baf1b2d1887398419
parent13bc57ecc39ebd485634f64f90ed526b134a521c (diff)
Allow commas in auth values when wappred in a double quote
-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 f335aa5c5..354e03715 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);