1 write to Url
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
62Url = url;
21 references to Url
Microsoft.AspNetCore.Http.Results (3)
RedirectHttpResult.cs (3)
97var isLocalUrl = SharedUrlHelper.IsLocalUrl(Url); 105var destinationUrl = isLocalUrl ? SharedUrlHelper.Content(httpContext, contentPath: Url) : Url;
Microsoft.AspNetCore.Http.Results.Tests (18)
LocalRedirectResultTests.cs (3)
24Assert.Same(url, result.Url); 39Assert.Same(url, result.Url); 54Assert.Same(url, result.Url);
RedirectResultTests.cs (1)
22Assert.Same(url, result.Url);
ResultsTests.cs (7)
1096Assert.Equal(localUrl, result.Url); 1113Assert.Equal(localUrl, result.Url); 1131Assert.Equal(localUrl, result.Url); 1149Assert.Equal(localUrl, result.Url); 1479Assert.Equal(url, result.Url); 1495Assert.Equal(url, result.Url); 1511Assert.Equal(url, result.Url);
TypedResultsTests.cs (7)
940Assert.Equal(localUrl, result.Url); 957Assert.Equal(localUrl, result.Url); 975Assert.Equal(localUrl, result.Url); 993Assert.Equal(localUrl, result.Url); 1261Assert.Equal(url, result.Url); 1277Assert.Equal(url, result.Url); 1293Assert.Equal(url, result.Url);