Skip to content

Commit

Permalink
For #10734,fix the param check rule (#10826)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunrisea authored Jul 25, 2023
1 parent 95df397 commit 65ad408
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ 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-_:\\.]*$";

public static final int MAX_SERVICE_NAME_LENGTH = 512;

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-_:\\.]*$";

Expand Down

0 comments on commit 65ad408

Please sign in to comment.