Project

General

Profile

Actions

Bug #88256

closed

FileWriter creates directories like php: or file: when eg. php://stdout is used a logfile destination

Added by Sven Carstens over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-05-02
Due date:
% Done:

100%

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

Description

typo3/sysext/core/Classes/Log/Writer/FileWriter.php uses GeneralUtility::mkdir_deep to create probably missing directories for the configured logfile.
When using php://stdout as a logfile destination empty php: directories popup under the web root and under typo3/.

Before creating the directories we have to check for the usage of a [https://www.php.net/manual/en/wrappers.php]

Actions

Also available in: Atom PDF