Bug #20479 » 11152_impExpRegEx.patch
typo3/sysext/impexp/app/index.php (Arbeitskopie) | ||
---|---|---|
$inData['pagetree']['maxNumber'] = t3lib_div::intInRange($inData['pagetree']['maxNumber'],1,10000,100);
|
||
$inData['listCfg']['maxNumber'] = t3lib_div::intInRange($inData['listCfg']['maxNumber'],1,10000,100);
|
||
$inData['maxFileSize'] = t3lib_div::intInRange($inData['maxFileSize'],1,10000,1000);
|
||
$inData['filename'] = trim(preg_replace('/[^[:alnum:]./_-]*/','',preg_replace('/\.(t3d|xml)$/','',$inData['filename'])));
|
||
$inData['filename'] = trim(preg_replace('/[^[:alnum:].\/_-]*/','',preg_replace('/\.(t3d|xml)$/','',$inData['filename'])));
|
||
if (strlen($inData['filename'])) {
|
||
$inData['filename'].= $inData['filetype']=='xml' ? '.xml' : '.t3d';
|
||
}
|