From 9d00ac3f8bca46e1f016226471ff0112d67bebe6 Mon Sep 17 00:00:00 2001 From: Elivo Date: Sun, 30 Mar 2025 21:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=B9=E9=85=8D=E8=B7=AF=E7=94=B1=E6=97=B6?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E8=AF=B7=E6=B1=82=E8=B7=AF=E5=BE=84=E6=9C=AB?= =?UTF-8?q?=E5=B0=BE=E7=9A=84=E6=96=9C=E6=9D=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apewer/Web/ApiProcessor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Apewer/Web/ApiProcessor.cs b/Apewer/Web/ApiProcessor.cs index 4eb2d76..d0b0651 100644 --- a/Apewer/Web/ApiProcessor.cs +++ b/Apewer/Web/ApiProcessor.cs @@ -128,6 +128,7 @@ namespace Apewer.Web if (_context.Options.UseRoute) { var path = _context?.Request?.Url?.AbsolutePath; + path = path.TrimEnd('/'); var action = _context.Entries.GetAction(path); if (action != null) {