From 95a1a71546009d9c1c58f8afb9bd14460e5c44a5 Mon Sep 17 00:00:00 2001 From: liuliaozhong Date: Wed, 24 Apr 2024 14:12:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=AC=E5=9C=B0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=B1=BB=E5=9E=8B=E9=99=90=E5=88=B6=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=94=AF=E6=8C=81.xx.xx=E7=B1=BB=E5=9E=8B=20?= =?UTF-8?q?#2917?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model/web/request/globalsetting/FileUploadSettingReq.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/globalsetting/FileUploadSettingReq.java b/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/globalsetting/FileUploadSettingReq.java index 85252c67c2..289139e529 100644 --- a/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/globalsetting/FileUploadSettingReq.java +++ b/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/globalsetting/FileUploadSettingReq.java @@ -62,7 +62,7 @@ public class FileUploadSettingReq { private Integer restrictMode; @ApiModelProperty("后缀列表") - private List<@Pattern(regexp = "^\\.[A-Za-z0-9_-]{1,24}$", + private List<@Pattern(regexp = "^(\\.[A-Za-z0-9_-]{1,24})+$", message = "{validation.constraints.InvalidUploadFileSuffix.message}") String> suffixList; }