cfoe
2012-08-25 8cf2763444f09c7aa100d3ce5a1b9f79bb444c1d
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'];