Project

General

Profile

Actions

Bug #15682

closed

Reading folder contents fails if folder name is 0

Added by Florian Schaeffer almost 19 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-02-20
Due date:
% Done:

0%

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

Description

If a folder contains a subfolder which has a name '0' readdir fails to read directory. Solution is documented at php.net [1].

Don't know, where this function is used in the core, I recognized the problem when using filelist on a large picture database which stores files in single character-named folders. Maybe this is already solved in higher versions, haven't tried it yet.

[1] http://de3.php.net/manual/de/function.readdir.php

(issue imported from #M2642)


Files

dir_bug.diff (663 Bytes) dir_bug.diff Administrator Admin, 2008-08-29 22:03
create_0_dir.diff (585 Bytes) create_0_dir.diff Administrator Admin, 2008-08-29 22:48
2642.diff (1.64 KB) 2642.diff Administrator Admin, 2008-08-30 17:15

Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #17390: file module: a folder named 'fileadmin/0' is not being handled and masks out other files and foldersClosed2007-06-16

Actions
Has duplicate TYPO3 Core - Bug #19444: Filelist BugClosedChristian Kuhn2008-10-09

Actions
Actions

Also available in: Atom PDF