The Free Software Media System - Server Backend & API
-fix authorizationHeader is no longer a string
Tommaso Stocchid1b34a1e9797
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.csindex 95be6552b0..f0a706ff52 100644--- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs+++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs@@ -264,8 +264,8 @@ namespace Emby.Server.Implementations.HttpServer.Security}// Remove up until the first space- authorizationHeader = parts[1];- return GetParts(authorizationHeader);+ authorizationHeader = authorizationHeader[(firstSpace + 1)..];+ return GetParts(authorizationHeader.ToString());}/// <summary>