From 9c9cf3d31403cbe9c31660153105001af3bc4013 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 23 Oct 2015 14:57:33 -0700 Subject: [PATCH] React to break change in StringValues --- .../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 dbd94f844d..6cda19b466 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 == null) + if (chunk.Count == 0) { if (ThrowForPartialCookies) {