Use the same filter on Storage Name as we use in Monitor Name.
parent
97b7ae9c5f
commit
07fcb72e3b
|
@ -21,7 +21,7 @@ class Storage extends ZM_Object {
|
||||||
protected $defaults = array(
|
protected $defaults = array(
|
||||||
'Id' => null,
|
'Id' => null,
|
||||||
'Path' => array('type'=>'text','filter_regexp'=>array('/[^\w\-\.\(\)\:\/ ]/','/\/$/'), 'default'=>''),
|
'Path' => array('type'=>'text','filter_regexp'=>array('/[^\w\-\.\(\)\:\/ ]/','/\/$/'), 'default'=>''),
|
||||||
'Name' => '',
|
'Name' => array('type'=>'text','filter_regexp'=>'/[^\w\-\.\(\)\:\/ ]/', 'default'=>'Storage'),
|
||||||
'Type' => 'local',
|
'Type' => 'local',
|
||||||
'Url' => '',
|
'Url' => '',
|
||||||
'DiskSpace' => null,
|
'DiskSpace' => null,
|
||||||
|
|
Loading…
Reference in New Issue