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 = "[^\\[/?#:]*";