File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function __construct()
49
49
50
50
$ attributeValidator = new \Zend_Validate ();
51
51
$ attributeValidator ->addValidator (new \Zend_Validate_StringLength (['min ' => 3 ]));
52
- $ attributeValidator ->addValidator (new \Zend_Validate_Regex ('/^[A-Za-z0-9\/_]+$/ ' ));
52
+ $ attributeValidator ->addValidator (new \Zend_Validate_Regex ('/^[A-Za-z0-9\/_\- ]+$/ ' ));
53
53
54
54
$ textValidator = new \Zend_Validate_StringLength (['min ' => 3 , 'max ' => 50 ]);
55
55
Original file line number Diff line number Diff line change 100
100
</xs : documentation >
101
101
</xs : annotation >
102
102
<xs : restriction base =" xs:string" >
103
- <xs : pattern value =" [a-zA-Z0-9/_]{3,}" />
103
+ <xs : pattern value =" [a-zA-Z0-9/_\- ]{3,}" />
104
104
</xs : restriction >
105
105
</xs : simpleType >
106
106
You can’t perform that action at this time.
0 commit comments