1 write to AcceptLocalUrlOnly
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
65AcceptLocalUrlOnly = acceptLocalUrlOnly;
15 references to AcceptLocalUrlOnly
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
99if (AcceptLocalUrlOnly && !isLocalUrl)
Microsoft.AspNetCore.Http.Results.Tests (14)
ResultsTests.cs (7)
1097Assert.True(result.AcceptLocalUrlOnly); 1114Assert.True(result.AcceptLocalUrlOnly); 1132Assert.True(result.AcceptLocalUrlOnly); 1150Assert.True(result.AcceptLocalUrlOnly); 1482Assert.False(result.AcceptLocalUrlOnly); 1498Assert.False(result.AcceptLocalUrlOnly); 1514Assert.False(result.AcceptLocalUrlOnly);
TypedResultsTests.cs (7)
941Assert.True(result.AcceptLocalUrlOnly); 958Assert.True(result.AcceptLocalUrlOnly); 976Assert.True(result.AcceptLocalUrlOnly); 994Assert.True(result.AcceptLocalUrlOnly); 1264Assert.False(result.AcceptLocalUrlOnly); 1280Assert.False(result.AcceptLocalUrlOnly); 1296Assert.False(result.AcceptLocalUrlOnly);