mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Avoid zero-length array memory allocations
This commit is contained in:
@@ -56,7 +56,7 @@ namespace NzbDrone.Common.Http
|
||||
|
||||
public string[] GetCookieHeaders()
|
||||
{
|
||||
return Headers.GetValues("Set-Cookie") ?? new string[0];
|
||||
return Headers.GetValues("Set-Cookie") ?? Array.Empty<string>();
|
||||
}
|
||||
|
||||
public Dictionary<string, string> GetCookies()
|
||||
|
Reference in New Issue
Block a user