1 write to Path
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefix.cs (1)
22Path = path;
9 references to Path
Microsoft.AspNetCore.Server.HttpSys (6)
RequestProcessing\Request.cs (2)
93else if (originalPath.StartsWith(prefix.Path, StringComparison.Ordinal)) 99else if (originalPath.StartsWith(prefix.Path, StringComparison.OrdinalIgnoreCase))
UrlPrefix.cs (3)
23PathWithoutTrailingSlash = Path.Length > 1 ? Path[0..^1] : string.Empty; 24FullPrefix = string.Format(CultureInfo.InvariantCulture, "{0}://{1}:{2}{3}", Scheme, Host, Port, Path);
UrlPrefixCollection.cs (1)
226var newPrefix = UrlPrefix.Create(urlPrefix.Scheme, urlPrefix.Host, port, urlPrefix.Path);
Microsoft.AspNetCore.Server.HttpSys.Tests (3)
UrlPrefixTests.cs (3)
71Assert.Equal(pathBase, urlPrefix.Path); 81Assert.False(urlPrefix.Path.IsNormalized(NormalizationForm.FormC)); 82Assert.Equal("/p\u0041\u030Athbase/", urlPrefix.Path);