Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fowler <davidfowl@gmail.com>2022-08-08 23:19:49 +0300
committerDavid Fowler <davidfowl@gmail.com>2022-08-08 23:19:49 +0300
commit83ef4363bba9b03f992cad06445fd5144ea32d81 (patch)
tree848c04c823ef296d2cf65663cb77ab6b4aefe94c
parent78c274ccdf1b0c841d8d342de989fff2af0c561b (diff)
No need to clean filter factories anymoredavidfowl/controller-rhfilters
-rw-r--r--src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs
index e0c38a3e8e..c04e345fca 100644
--- a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs
+++ b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs
@@ -259,8 +259,6 @@ internal sealed class ActionEndpointFactory
route.Conventions[i](builder);
}
- builder.FilterFactories.Clear();
-
endpoints.Add((RouteEndpoint)builder.Build());
}