Bug #20479
closedExport To t3d results in Fatal Error because of wrong RegEx
0%
Description
When trying to export page trees to t3d in current trunk you'll get a warning, namely:
Warning: preg_replace() [function.preg-replace]: Unknown modifier '_' in /var/www/eclipse/typo3_src42trunk/typo3/sysext/impexp/app/index.php on line 436
Call Stack
It does in fact work although there is this error, but we should get rid of it anyway.
(issue imported from #M11152)
Files
Updated by Peter Niederlag over 15 years ago
seems like a nobrainer but as I've digged into it before checkin of the patch I found out:
- the regex is used to cleanup any user submitted filename from special characters and replace them by a dash '-'
so we definitly don't want either '/' or '.' in the filename.
I am on it, please hang on
Updated by Peter Niederlag over 15 years ago
add updated patch that only lets path valid characters from user submitted filename
Updated by Peter Niederlag over 15 years ago
add updated patch that only lets pass valid characters from user submitted filename