Project

General

Profile

Actions

Bug #57914

closed

INCLUDE_TYPOSCRIPT should skip hidden/temporary files

Added by Stefan Neufeind about 10 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2014-04-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #34621: Allow <INCLUDE_TYPOSCRIPT to include directories (recursive)ClosedLoek Hilgersom2012-03-07

Actions
Has duplicate TYPO3 Core - Bug #60681: <INCLUDE_TYPOSCRIPT: source="DIR:EXT:mysite/Typoscript"> includes hidden files…Closed2014-07-30

Actions
Actions

Also available in: Atom PDF