From a4932133c8859896eda8f73c43f8c1f3c7ef45c8 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 25 Dec 2025 14:17:24 +0800 Subject: [PATCH] fix(wrap): fixed #1401 --- .../LINGYUN/Abp/AspNetCore/Mvc/Wrapper/WrapResultChecker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnet-core/framework/mvc/LINGYUN.Abp.AspNetCore.Mvc.Wrapper/LINGYUN/Abp/AspNetCore/Mvc/Wrapper/WrapResultChecker.cs b/aspnet-core/framework/mvc/LINGYUN.Abp.AspNetCore.Mvc.Wrapper/LINGYUN/Abp/AspNetCore/Mvc/Wrapper/WrapResultChecker.cs index 31bedc28c..44a92cd03 100644 --- a/aspnet-core/framework/mvc/LINGYUN.Abp.AspNetCore.Mvc.Wrapper/LINGYUN/Abp/AspNetCore/Mvc/Wrapper/WrapResultChecker.cs +++ b/aspnet-core/framework/mvc/LINGYUN.Abp.AspNetCore.Mvc.Wrapper/LINGYUN/Abp/AspNetCore/Mvc/Wrapper/WrapResultChecker.cs @@ -129,7 +129,7 @@ public class WrapResultChecker : IWrapResultChecker, ISingletonDependency return true; } var url = BuildUrl(context.HttpContext); - return !Options.IgnorePrefixUrls.Any(urlPrefix => urlPrefix.StartsWith(url)); + return !Options.IgnorePrefixUrls.Any(urlPrefix => url.StartsWith(urlPrefix)); } protected virtual bool CheckForController(ControllerActionDescriptor controllerActionDescriptor)