From e9d2c53ebc2b44adc398d5734cabf1cf31ab01c5 Mon Sep 17 00:00:00 2001 From: Chris R Date: Mon, 2 Nov 2015 15:56:49 -0800 Subject: [PATCH] React to IRequestCookieCollection changes. --- .../ChunkingCookieManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Authentication.Cookies/ChunkingCookieManager.cs b/src/Microsoft.AspNet.Authentication.Cookies/ChunkingCookieManager.cs index 7560cd1456..70d7096cbf 100644 --- a/src/Microsoft.AspNet.Authentication.Cookies/ChunkingCookieManager.cs +++ b/src/Microsoft.AspNet.Authentication.Cookies/ChunkingCookieManager.cs @@ -87,7 +87,7 @@ namespace Microsoft.AspNet.Authentication.Cookies for (var chunkId = 1; chunkId <= chunksCount; chunkId++) { var chunk = requestCookies[key + "C" + chunkId.ToString(CultureInfo.InvariantCulture)]; - if (chunk.Count == 0) + if (string.IsNullOrEmpty(chunk)) { if (ThrowForPartialCookies) {