diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-10-31 16:14:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-31 16:14:53 +0100 |
| commit | 26078e4df9c45fdfc6aeb80a14a889e303a92834 (patch) | |
| tree | 7124967c4db2aac3527e71dd45ce117739518ddf | |
| parent | 4f320308f333507a324740248c7dd025085a7d67 (diff) | |
| parent | eee95336b561a39ca4178a7d7acf3ea65eb7549e (diff) | |
Merge pull request #4375 from crobibero/auth-dict-fix
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; } } |
