React to break change in StringValues

This commit is contained in:
Ryan Nowak 2015-10-23 14:57:33 -07:00
parent 204ab0b860
commit 9c9cf3d314
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{