Project

General

Profile

Bug #18575 » bug_8040_v4.diff

Administrator Admin, 2008-04-22 13:07

View differences:

t3lib/class.t3lib_basicfilefunc.php 2008-04-13 23:55:21.000000000 +0200
$fileName = $this->csConvObj->specCharsToASCII($charset,$fileName);
}
return preg_replace('/[^.[:alnum:]_-]/','_',trim($fileName));
$fileName = preg_replace('/[^.[:alnum:]_-]/', '_', trim($fileName));
return preg_replace('/\.*$/', '', $fileName);
}
/**
(4-4/4)