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