Commit 56fd8f66 authored by Till Brehm's avatar Till Brehm

Merge branch 'stable-3.1' into 'stable-3.1'

fixed regex for backup tmp dir

See merge request ispconfig/ispconfig3!739
parents 4d6f1cce b1c987a0
......@@ -190,7 +190,7 @@ $form["tabs"]['server'] = array(
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'tmpdir_path_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{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