From 4a52c9c72c429872a831220aa03adbf039982adb Mon Sep 17 00:00:00 2001 From: Mike Alhayek Date: Mon, 4 Dec 2023 12:27:18 -0800 Subject: [PATCH] Configure Startup Filters before Pipeline (#14830) --- .../OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs b/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs index 21a04fa9756..234bb5dc7ec 100644 --- a/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs +++ b/src/OrchardCore/OrchardCore/Modules/Extensions/ShellPipelineExtensions.cs @@ -58,10 +58,10 @@ private static async ValueTask BuildPipelineInternalAsync(this S configure = filter.Configure(configure); } - await ConfigurePipelineAsync(builder); - configure(builder); + await ConfigurePipelineAsync(builder); + var shellPipeline = new ShellRequestPipeline { Next = builder.Build()