Commit b1c987a0 authored by Florian Schaal's avatar Florian Schaal

update regex from last commit

parent 770fe4fe
......@@ -190,7 +190,7 @@ $form["tabs"]['server'] = array(
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'tmpdir_path_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => "/(|^\\/{1,2}(?:[\\w-]+[.]?\\/?){5,128})$/",
'regex' => "/^\/[a-zA-Z0-9\.\-\_\/]{4,128}$/",
'errmsg'=> 'tmpdir_path_error_regex'),
),
'value' => '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment