fix #1275 update validation pattern
This commit is contained in:
parent
07b6471750
commit
2fab8644cb
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue