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(
|
||||
'Id' => null,
|
||||
'Path' => array('type'=>'text','filter_regexp'=>array('/[^\w\-\.\(\)\:\/ ]/','/\/$/'), 'default'=>''),
|
||||
'Name' => '',
|
||||
'Name' => array('type'=>'text','filter_regexp'=>'/[^\w\-\.\(\)\:\/ ]/', 'default'=>'Storage'),
|
||||
'Type' => 'local',
|
||||
'Url' => '',
|
||||
'DiskSpace' => null,
|
||||
|
|
Loading…
Reference in New Issue