From 46aa5c9ff264777125f42b8171758049f01d5f91 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 20 Feb 2023 11:23:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E7=82=B9=E5=87=BB=E8=AE=A4=E8=AF=81=E6=BA=90=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023314 --user=刘瑞斌 【UI测试】场景详情-勾选性能模式-选择firefox-生产报告-截图场景步骤登录报错 https://www.tapd.cn/55049933/s/1338065 --- .../main/java/io/metersphere/gateway/filter/LoginFilter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/gateway/src/main/java/io/metersphere/gateway/filter/LoginFilter.java b/framework/gateway/src/main/java/io/metersphere/gateway/filter/LoginFilter.java index bf64022c5b..46e948bf55 100644 --- a/framework/gateway/src/main/java/io/metersphere/gateway/filter/LoginFilter.java +++ b/framework/gateway/src/main/java/io/metersphere/gateway/filter/LoginFilter.java @@ -37,6 +37,8 @@ public class LoginFilter implements WebFilter, Ordered { basePattern = new PathPatternParser().parse("/**"); // 网关首页 excludePatterns.add(new PathPatternParser().parse("/")); + // 认证源查询 + excludePatterns.add(new PathPatternParser().parse("/authsource/*")); // 各模块首页 swaggerUiConfigProperties.getUrls().forEach(v -> excludePatterns.add(new PathPatternParser().parse("/" + v.getName())));