File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Security/CookiePolicy/src Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ private static readonly HttpHeaderParser<SetCookieHeaderValue> MultipleValuePars
44
44
45
45
static SetCookieHeaderValue ( )
46
46
{
47
- if ( AppContext . TryGetSwitch ( "Microsoft.Net.Http.Headers.SetCookieHeaderValue .SuppressSameSiteNone" , out var enabled ) )
47
+ if ( AppContext . TryGetSwitch ( "Microsoft.AspNetCore .SuppressSameSiteNone" , out var enabled ) )
48
48
{
49
49
SuppressSameSiteNone = enabled ;
50
50
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public class CookieBuilder
19
19
20
20
static CookieBuilder ( )
21
21
{
22
- if ( AppContext . TryGetSwitch ( "Microsoft.Net.Http.Headers.SetCookieHeaderValue .SuppressSameSiteNone" , out var enabled ) )
22
+ if ( AppContext . TryGetSwitch ( "Microsoft.AspNetCore .SuppressSameSiteNone" , out var enabled ) )
23
23
{
24
24
SuppressSameSiteNone = enabled ;
25
25
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class CookieOptions
16
16
17
17
static CookieOptions ( )
18
18
{
19
- if ( AppContext . TryGetSwitch ( "Microsoft.Net.Http.Headers.SetCookieHeaderValue .SuppressSameSiteNone" , out var enabled ) )
19
+ if ( AppContext . TryGetSwitch ( "Microsoft.AspNetCore .SuppressSameSiteNone" , out var enabled ) )
20
20
{
21
21
SuppressSameSiteNone = enabled ;
22
22
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class CookiePolicyOptions
18
18
19
19
static CookiePolicyOptions ( )
20
20
{
21
- if ( AppContext . TryGetSwitch ( "Microsoft.Net.Http.Headers.SetCookieHeaderValue .SuppressSameSiteNone" , out var enabled ) )
21
+ if ( AppContext . TryGetSwitch ( "Microsoft.AspNetCore .SuppressSameSiteNone" , out var enabled ) )
22
22
{
23
23
SuppressSameSiteNone = enabled ;
24
24
}
You can’t perform that action at this time.
0 commit comments