mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
Merge pull request #4375 from crobibero/auth-dict-fix
Fix setting duplicate keys from auth header
This commit is contained in:
commit
26078e4df9
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
||||||
if (param.Length == 2)
|
if (param.Length == 2)
|
||||||
{
|
{
|
||||||
var value = NormalizeValue(param[1].Trim(new[] { '"' }));
|
var value = NormalizeValue(param[1].Trim(new[] { '"' }));
|
||||||
result.Add(param[0], value);
|
result[param[0]] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue