diff options
| author | Tommaso Stocchi <tommasostocchi@outlook.com> | 2020-12-14 13:15:21 +0100 |
|---|---|---|
| committer | Tommaso Stocchi <tommasostocchi@outlook.com> | 2020-12-14 13:15:21 +0100 |
| commit | b611a108f89ab77b219aecc6d6155540f772cf32 (patch) | |
| tree | b548f10bc20bc3880e9c31ed8a05f606428d9137 | |
| parent | 305e5ebaf40d02f15664c49c26391531a548608d (diff) | |
-fix split on comma and double quotes
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | 2 |
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); |
