Merge pull request #4375 from crobibero/auth-dict-fix
Fix setting duplicate keys from auth header
This commit is contained in:
commit
26078e4df9
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user