1 write to PathWithoutTrailingSlash
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefix.cs (1)
23
PathWithoutTrailingSlash
= Path.Length > 1 ? Path[0..^1] : string.Empty;
3 references to PathWithoutTrailingSlash
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\Request.cs (1)
77
var pathBase = prefix.
PathWithoutTrailingSlash
;
UrlPrefixCollection.cs (2)
96
&& originalPathString.StartsWithSegments(new PathString(prefix.
PathWithoutTrailingSlash
), StringComparison.OrdinalIgnoreCase, out var remainder)
100
pathBase = originalPath.Substring(0, prefix.
PathWithoutTrailingSlash
.Length); // Maintain the input casing