Bug #22311
closedanother Bug causing typo3temp to fill up with files
0%
Description
this is another bug causing typo3temp to fill up with files which will never be deleted,
on frequent visited sites this can slow the site down within days or weeks
Like
http://bugs.typo3.org/view.php?id=12376
temporary files will be created with IDs/names using something like "md5(microtime())"
The submitted patch works but is slow and dirty. It takes the serialized array variable of the item as a substituion of "microtime()".
The best solution is a management of temporary files by offering library functions for generating IDs and creating and deleting temp files.
(issue imported from #M13886)
Files
Updated by Oliver Hader over 14 years ago
I guess that this issue already appeared in TYPO3 4.2, didn't it?
Updated by Mittwald CM over 14 years ago
Yes, it's also in version 4.2.
And 4.1, 4.0, 3.8 and 3.7! The line numbers differ:
3.7.0/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2128
3.8.1/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2128
4.0.13/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2178
4.1.13/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2192
4.2.12/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2297
4.3.2/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2331
The worse code fragment "md5(microtime())" is found many times in all versions.
Updated by Christian Kuhn over 11 years ago
- Target version deleted (
0)
I'm closing all the other _LAYERS related issues currently, but a small grep showed that the code in question here is still present in 6.1, so I'll leave this issue open for now ... we'll see if it pops up again.
Updated by Mathias Schreiber almost 10 years ago
- Status changed from Accepted to Closed
- Is Regression set to No
was silent long enough ;-)