Changeset 5912 for trunk/filemanager/inc/class.vfs_functions.inc.php
- Timestamp:
- 04/11/12 12:04:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/filemanager/inc/class.vfs_functions.inc.php
r5509 r5912 436 436 $_return[] = array( "error" => $badchar); 437 437 } 438 if( ereg("/", $this->to) || ereg("\\\\", $this->to))438 if(preg_match('/\//', $this->to) || preg_match('/\\\\/', $this->to)) 439 439 { 440 440 $_return[] = array( "error"=> "slashes");
Note: See TracChangeset
for help on using the changeset viewer.