11 references to FromUriComponent
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
509
=> string.IsNullOrEmpty(s) ? new PathString(s) :
FromUriComponent
(s);
Microsoft.AspNetCore.Http.Extensions (1)
UriHelper.cs (1)
145
path = PathString.
FromUriComponent
(uri.Substring(searchIndex, limit - searchIndex));
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
383
request.PathBase = PathString.
FromUriComponent
(currentValues.Prefix);
Microsoft.AspNetCore.Rewrite (8)
RewriteRule.cs (4)
76
request.Path = PathString.
FromUriComponent
(newPath);
80
request.Path = PathString.
FromUriComponent
('/' + newPath);
90
request.Path = PathString.
FromUriComponent
(result);
94
request.Path = PathString.
FromUriComponent
('/' + result);
UrlActions\RewriteAction.cs (4)
98
request.Path = PathString.
FromUriComponent
(path);
102
request.Path = PathString.
FromUriComponent
('/' + path);
121
request.Path = PathString.
FromUriComponent
(pattern);
125
request.Path = PathString.
FromUriComponent
('/' + pattern);