From 182fb1f1f447d4c649dc6b4e5b78978e7af16731 Mon Sep 17 00:00:00 2001 From: jianghao <332515344@qq.com> Date: Wed, 31 Dec 2025 15:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E5=85=B3=E6=9C=8D=E5=8A=A1=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0token=E5=88=B7=E6=96=B0=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/timeline/gateway/filter/AuthenticationFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeline-gateway-service/src/main/java/com/timeline/gateway/filter/AuthenticationFilter.java b/timeline-gateway-service/src/main/java/com/timeline/gateway/filter/AuthenticationFilter.java index 527217d..f69f8c1 100644 --- a/timeline-gateway-service/src/main/java/com/timeline/gateway/filter/AuthenticationFilter.java +++ b/timeline-gateway-service/src/main/java/com/timeline/gateway/filter/AuthenticationFilter.java @@ -119,7 +119,7 @@ public class AuthenticationFilter implements GlobalFilter, Ordered { String[] params = query.split("&"); for (String param : params) { if (param.startsWith("Authorization=")) { - return param.substring("Authorization=".length()); + return param.substring(21); } } }