ftimme
2012-05-18 5c42001eb9352d83e191c1c53bf0546c8755d13b
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'];