The Free Software Media System - Server Backend & API
Fix setting duplicate keys from auth header
crobiberoeee95336b561
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.csindex 4b407dd9d2..8140fe81be 100644--- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs+++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs@@ -267,7 +267,7 @@ namespace Emby.Server.Implementations.HttpServer.Securityif (param.Length == 2){var value = NormalizeValue(param[1].Trim(new[] { '"' }));- result.Add(param[0], value);+ result[param[0]] = value;}}