Issue Bug Rejected

#57914INCLUDE_TYPOSCRIPT should skip hidden/temporary files

Stefan Neufeind 04/14/14, 21:41 updated 03/04/16, 22:54

Description

INCLUDE_TYPOSCRIPT is processed in typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
When including a whole DIR it can occur that also files like “.myfile.ts.swp” are included. Those file are for example there while a file is open in vim. In BE the object-browser then complains about unexpected characters etc.

a) We should skip those hidden/temporary files. (Afaik there is a pattern for temporary files that we can use for the exclude.)
b) Why does it include a file ending with .swp? That file-extension should usually not be allowed to include.

Reviews 1