Project

General

Profile

Bug #18575 » bug_8040.diff

Administrator Admin, 2008-04-08 00:17

View differences:

t3lib/class.t3lib_extfilefunc.php 2008-04-08 01:56:37.000000000 +0200
function func_newfolder($cmds) {
if (!$this->isInit) return FALSE;
$theFolder = $this->cleanFileName($cmds['data']);
$theFolder = preg_replace('/[\/\. ]*$/','',$this->cleanFileName($cmds['data']));
if ($theFolder) {
if ($this->checkFileNameLen($theFolder)) {
$theTarget = $this->is_directory($cmds['target']); // Check the target dir
(1-1/4)