fix filter_regexp to remove trailing /
parent
522dfecebe
commit
dda630f522
|
@ -8,7 +8,7 @@ class Storage extends ZM_Object {
|
|||
protected static $table = 'Storage';
|
||||
protected $defaults = array(
|
||||
'Id' => null,
|
||||
'Path' => array('type'=>'text','filter_regexp'=>array('/[^\w\-\.\(\)\:\/ ]/','\/$')),
|
||||
'Path' => array('type'=>'text','filter_regexp'=>array('/[^\w\-\.\(\)\:\/ ]/','/\/$/')),
|
||||
'Name' => '',
|
||||
'Type' => 'local',
|
||||
'Url' => '',
|
||||
|
|
Loading…
Reference in New Issue