Bug #20479 » 1152.simple.patch
typo3/sysext/impexp/app/index.php (working copy) | ||
---|---|---|
$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';
|
||
}
|
- « Previous
- 1
- 2
- Next »