Merge pull request #4375 from crobibero/auth-dict-fix

Fix setting duplicate keys from auth header
This commit is contained in:
Bond-009 2020-10-31 16:14:53 +01:00 committed by GitHub
commit 26078e4df9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}