6 references to FromUriComponent
Microsoft.AspNetCore.HeaderParsing (1)
HostHeaderValue.cs (1)
74
var hs = HostString.
FromUriComponent
(value);
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
117
get { return HostString.
FromUriComponent
(Headers.Host.ToString()); }
Microsoft.AspNetCore.Http.Extensions (2)
RequestHeaders.cs (1)
218
return HostString.
FromUriComponent
(Headers.Host.ToString());
UriHelper.cs (1)
150
host = HostString.
FromUriComponent
(uri.Substring(startIndex, limit - startIndex));
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
360
request.Host = HostString.
FromUriComponent
(currentValues.Host);
Microsoft.AspNetCore.Mvc.Core.Test (1)
RequireHttpsAttributeTests.cs (1)
73
requestContext.Request.Host = HostString.
FromUriComponent
(host);