diff options
| author | crobibero <cody@robibe.ro> | 2020-10-26 17:18:54 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-10-26 17:18:54 -0600 |
| commit | eee95336b561a39ca4178a7d7acf3ea65eb7549e (patch) | |
| tree | ff192be2a888eb0ebaa963b438be425b221ed712 | |
| parent | a69397d7141a6f8fde840cb53516244785243de8 (diff) | |
Fix setting duplicate keys from auth header
| -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 4b407dd9d..8140fe81b 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.Security if (param.Length == 2) { var value = NormalizeValue(param[1].Trim(new[] { '"' })); - result.Add(param[0], value); + result[param[0]] = value; } } |
