2
0
Эх сурвалжийг харах

-fix split on comma and double quotes

Tommaso Stocchi 4 жил өмнө
parent
commit
b611a108f8

+ 1 - 1
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);