7 writes to RedirectToAppendTrailingSlash
Microsoft.AspNetCore.StaticFiles.Tests (7)
DefaultFilesMiddlewareTests.cs (3)
68
RedirectToAppendTrailingSlash
= appendTrailingSlash
216
RedirectToAppendTrailingSlash
= appendTrailingSlash
316
RedirectToAppendTrailingSlash
= appendTrailingSlash
DirectoryBrowserMiddlewareTests.cs (4)
88
RedirectToAppendTrailingSlash
= appendTrailingSlash
221
RedirectToAppendTrailingSlash
= appendTrailingSlash,
315
RedirectToAppendTrailingSlash
= appendTrailingSlash
363
RedirectToAppendTrailingSlash
= appendTrailingSlash
4 references to RedirectToAppendTrailingSlash
Microsoft.AspNetCore.StaticFiles (2)
DefaultFilesMiddleware.cs (1)
69
if (_options.
RedirectToAppendTrailingSlash
&& !Helpers.PathEndsInSlash(context.Request.Path))
DirectoryBrowserMiddleware.cs (1)
71
if (_options.
RedirectToAppendTrailingSlash
&& !Helpers.PathEndsInSlash(context.Request.Path))
Microsoft.AspNetCore.StaticFiles.Tests (2)
DefaultFilesMiddlewareTests.cs (1)
328
Assert.True(new DefaultFilesOptions().
RedirectToAppendTrailingSlash
);
DirectoryBrowserMiddlewareTests.cs (1)
380
Assert.True(new DirectoryBrowserOptions().
RedirectToAppendTrailingSlash
);