AB#6233 - Install in .NET Core

This commit is contained in:
Bjarke Berg
2020-04-20 12:20:47 +02:00
parent 9335f39495
commit 79e9235338
59 changed files with 1593 additions and 350 deletions

View File

@@ -20,7 +20,7 @@ namespace Umbraco.Web.Common.AspNetCore
var cookieValue = httpContext.Request.Cookies[cookieName];
httpContext.Response.Cookies.Append(cookieName, cookieValue, new CookieOptions()
httpContext.Response.Cookies.Append(cookieName, cookieValue ?? string.Empty, new CookieOptions()
{
Expires = DateTime.Now.AddYears(-1)
});