-fix authorizationHeader is no longer a string

This commit is contained in:
Tommaso Stocchi 2021-06-03 17:37:42 +02:00
parent 2b232df07f
commit d1b34a1e97

View File

@ -264,8 +264,8 @@ namespace Emby.Server.Implementations.HttpServer.Security
} }
// Remove up until the first space // Remove up until the first space
authorizationHeader = parts[1]; authorizationHeader = authorizationHeader[(firstSpace + 1)..];
return GetParts(authorizationHeader); return GetParts(authorizationHeader.ToString());
} }
/// <summary> /// <summary>