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