For #10734,fix the param check rule (#10826)

This commit is contained in:
Sunrisea 2023-07-25 09:33:44 +08:00 committed by GitHub
parent 95df397616
commit 65ad408d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ public class ParamCheckRules {
public static final String NAMESPACE_ID_PATTERN_STRING = "^[\\w-]+";
public static final int MAX_DATA_ID_LENGTH = 512;
public static final int MAX_DATA_ID_LENGTH = 256;
public static final String DATA_ID_PATTERN_STRING = "^[a-zA-Z0-9-_:\\.]*$";
@ -39,7 +39,7 @@ public class ParamCheckRules {
public static final String SERVICE_NAME_PATTERN_STRING = "^(?!@).((?!@@)[^\\u4E00-\\u9FA5])*$";
public static final int MAX_GROUP_LENGTH = 64;
public static final int MAX_GROUP_LENGTH = 128;
public static final String GROUP_PATTERN_STRING = "^[a-zA-Z0-9-_:\\.]*$";