Bug #20779 » 11577.patch
t3lib/class.t3lib_formmail.php (working copy) | ||
---|---|---|
for ($a=0;$a<10;$a++) {
|
||
$varname = 'attachment'.(($a)?$a:'');
|
||
if (!is_uploaded_file($_FILES[$varname]['tmp_name'])) {
|
||
t3lib_div::sysLog('Possible abuse of t3lib_formmail: temporary file "'.$_FILES[$varname]['tmp_name'].'" ("'.$_FILES[$varname]['name'].'") was not an uploaded file.', 'Core', 3);
|
||
continue;
|
||
}
|
||
$theFile = t3lib_div::upload_to_tempfile($_FILES[$varname]['tmp_name']);
|