Skip to content

Commit

Permalink
Use Microsoft.AspNetCore.SuppressSameSiteNone compat key
Browse files Browse the repository at this point in the history
  • Loading branch information
Tratcher committed Oct 2, 2019
1 parent e646a86 commit 5262b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Headers/src/SetCookieHeaderValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static readonly HttpHeaderParser<SetCookieHeaderValue> MultipleValuePars

static SetCookieHeaderValue()
{
if (AppContext.TryGetSwitch("Microsoft.Net.Http.Headers.SetCookieHeaderValue.SuppressSameSiteNone", out var enabled))
if (AppContext.TryGetSwitch("Microsoft.AspNetCore.SuppressSameSiteNone", out var enabled))
{
SuppressSameSiteNone = enabled;
}
Expand Down

0 comments on commit 5262b40

Please sign in to comment.