From 648add252001a5f3152ac36aa6a97dd1472fc84d Mon Sep 17 00:00:00 2001 From: Mike Alhayek Date: Mon, 4 Dec 2023 11:38:49 -0800 Subject: [PATCH] Call IStartupFilter.Configure method before Configure Pipeline Fix #14829 --- .../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()