fix filter_regexp to remove trailing /

pull/2993/head
Isaac Connor 2020-07-25 14:27:09 -04:00
parent 522dfecebe
commit dda630f522
1 changed files with 1 additions and 1 deletions

View File

@ -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' => '',