11 references to FromUriComponent
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
541
=> 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)
104
request.Path = PathString.
FromUriComponent
(path);
108
request.Path = PathString.
FromUriComponent
('/' + path);
127
request.Path = PathString.
FromUriComponent
(pattern);
131
request.Path = PathString.
FromUriComponent
('/' + pattern);