mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
No need to double check param length
This commit is contained in:
@@ -273,11 +273,8 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
||||
{
|
||||
var param = item.Trim().Split('=', 2);
|
||||
|
||||
if (param.Length == 2)
|
||||
{
|
||||
result[param[0]] = param[1].Trim('"');
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user