mcramer
2012-08-18 5e4f60c7b94071e4845f78ee667176cfbb078d2a
interface/lib/classes/validate_ftpuser.inc.php
@@ -72,6 +72,8 @@
        
        $doc_root .= "/";
        if(substr($field_value, 0, strlen($doc_root)) == $doc_root) $is_ok = true;
      if(stristr($field_value,'..') or stristr($field_value,'./') or stristr($field_value,'/.')) $is_ok = false;
        
        if($is_ok == false) {
            $errmsg = $validator['errmsg'];