Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For #10734,fix the param check rule #10826

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading