13 references to ToUriComponent
Microsoft.AspNetCore.HostFiltering (1)
MiddlewareConfigurationManager.cs (1)
67var host = new HostString(entry).ToUriComponent();
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
118set { Headers.Host = value.ToUriComponent(); }
Microsoft.AspNetCore.Http.Abstractions (2)
HostString.cs (2)
124/// <returns>The value as normalized by <see cref="ToUriComponent"/>.</returns> 127return ToUriComponent();
Microsoft.AspNetCore.Http.Extensions (2)
RequestHeaders.cs (1)
222Headers.Host = value.ToUriComponent();
UriHelper.cs (1)
61var hostText = host.ToUriComponent();
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
81var host = new HostString(entry).ToUriComponent();
Microsoft.AspNetCore.Mvc.Core (6)
AcceptedAtActionResult.cs (1)
83request.Host.ToUriComponent());
CreatedAtActionResult.cs (1)
83request.Host.ToUriComponent());
RequireHttpsAttribute.cs (1)
92host.ToUriComponent(),
Routing\UrlHelperBase.cs (1)
61Host = ActionContext.HttpContext.Request.Host.ToUriComponent()
UrlHelperExtensions.cs (2)
534host = httpContext.Request.Host.ToUriComponent(); 583host = httpContext.Request.Host.ToUriComponent();