fix #1275 update validation pattern

This commit is contained in:
Shinsuke Sugaya 2017-09-15 06:04:58 +09:00
parent 07b6471750
commit 2fab8644cb

View file

@ -42,7 +42,7 @@ public class CreateForm {
@Required
@Size(max = 20)
@Pattern(regexp = "^[a-zA-Z0-9_-| ]+$")
@Pattern(regexp = "^[a-zA-Z0-9_]+$")
public String value;
@CustomSize(maxKey = "form.admin.max.input.size")