Skip to content
Snippets Groups Projects
Commit fcf38d87 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'cherry-pick-a9e7cc14' into 'develop'

Backport !545

See merge request ispconfig/ispconfig3!1166
parents acb7db0d 5a807ad5
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ if($app->auth->is_admin()) {
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'directory_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\ \.\-\_\/]{10,128}$/',
'regex' => '/^\/[a-zA-Z0-9\ \.\-\_\/]{7,128}$/',
'errmsg'=> 'directory_error_regex'),
2 => array ( 'type' => 'CUSTOM',
'class' => 'validate_ftpuser',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment