From f8635ed3b630676d1a32c50fbd34f59ee9fb659b Mon Sep 17 00:00:00 2001
From: "ncomputers.org" <contact@ncomputers.org>
Date: Sat, 4 Mar 2017 14:24:52 -0600
Subject: [PATCH] 10 => 7

---
 interface/web/sites/form/ftp_user.tform.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/web/sites/form/ftp_user.tform.php b/interface/web/sites/form/ftp_user.tform.php
index 239bfdb858..3b2ad1aee9 100644
--- a/interface/web/sites/form/ftp_user.tform.php
+++ b/interface/web/sites/form/ftp_user.tform.php
@@ -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',
-- 
GitLab