From 676a156dc8c3c25466d2441cc239da4265a904f8 Mon Sep 17 00:00:00 2001 From: lidongy <1879087903@qq.com> Date: Tue, 5 Mar 2024 17:42:49 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-115463=20springframework=20CVE-2024-2224?= =?UTF-8?q?3=20=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/third/springframework/web/util/UriComponentsBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fine-spring/src/main/java/com/fr/third/springframework/web/util/UriComponentsBuilder.java b/fine-spring/src/main/java/com/fr/third/springframework/web/util/UriComponentsBuilder.java index 659955479..46b90704d 100644 --- a/fine-spring/src/main/java/com/fr/third/springframework/web/util/UriComponentsBuilder.java +++ b/fine-spring/src/main/java/com/fr/third/springframework/web/util/UriComponentsBuilder.java @@ -66,7 +66,7 @@ public class UriComponentsBuilder implements Cloneable { private static final String HTTP_PATTERN = "(?i)(http|https):"; - private static final String USERINFO_PATTERN = "([^@\\[/?#]*)"; + private static final String USERINFO_PATTERN = "([^@/?#]*)"; private static final String HOST_IPV4_PATTERN = "[^\\[/?#:]*";