For #10734,fix the param check rule (#10858)
This commit is contained in:
parent
4321e777a4
commit
a76f0771e7
@ -37,7 +37,7 @@ public class ParamCheckRules {
|
||||
|
||||
public static final int MAX_SERVICE_NAME_LENGTH = 512;
|
||||
|
||||
public static final String SERVICE_NAME_PATTERN_STRING = "^(?!@).((?!@@)[^\\u4E00-\\u9FA5])*$";
|
||||
public static final String SERVICE_NAME_PATTERN_STRING = "^(?!@).((?!@@)[^\\u4E00-\\u9FA5\\s])*$";
|
||||
|
||||
public static final int MAX_GROUP_LENGTH = 128;
|
||||
|
||||
@ -49,7 +49,7 @@ public class ParamCheckRules {
|
||||
|
||||
public static final int MAX_IP_LENGTH = 128;
|
||||
|
||||
public static final String IP_PATTERN_STRING = "^[^\\u4E00-\\u9FA5]*$";
|
||||
public static final String IP_PATTERN_STRING = "^[^\\u4E00-\\u9FA5\\s]*$";
|
||||
|
||||
public static final int MAX_PORT = 65535;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user