6 writes to Path
Microsoft.AspNetCore.Http (1)
Internal\ResponseCookies.cs (1)
36Path = "/"
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
116Path = Path,
Microsoft.Net.Http.Headers (1)
SetCookieHeaderValue.cs (1)
615result.Path = ReadToSemicolonOrEnd(input, ref offset);
Microsoft.Net.Http.Headers.Tests (3)
SetCookieHeaderValueTest.cs (3)
22Path = "path1", 139Path = "path1", 242Path = "path1",
21 references to Path
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectChallengeTests.cs (2)
444Assert.Equal("/signin-oidc", nonceCookie.Path.AsSpan()); 452Assert.Equal("/signin-oidc", correlationCookie.Path.AsSpan());
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookiePolicyTests.cs (4)
404Assert.Equal("/", cookie.Path.AsSpan()); 457Assert.Equal("/", cookie.Path.AsSpan()); 464Assert.Equal("/", cookie.Path.AsSpan()); 471Assert.Equal("/", cookie.Path.AsSpan());
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
TempDataInCookiesTest.cs (5)
83Assert.Equal("/", cookieTempDataProviderCookie.Path.AsSpan()); 101Assert.Equal("/", setCookieHeaderValue.Path.AsSpan()); 133Assert.Equal("/", setCookieHeader.Path.AsSpan()); 157Assert.Equal("/", setCookieHeader.Path.AsSpan()); 186Assert.Equal("/", setCookieHeader.Path.AsSpan());
Microsoft.Net.Http.Headers (10)
SetCookieHeaderValue.cs (10)
212if (Path != null) 214length += SeparatorToken.Length + PathToken.Length + EqualsToken.Length + Path.Length; 282if (headerValue.Path != null) 284AppendSegment(ref span, PathToken, headerValue.Path); 358if (Path != null) 360AppendSegment(builder, PathToken, Path); 728&& StringSegment.Equals(Path, other.Path, StringComparison.OrdinalIgnoreCase) 743^ (Path != null ? StringSegmentComparer.OrdinalIgnoreCase.GetHashCode(Path) : 0)