Project

General

Profile

Actions

Bug #21388

closed

typo3temp got filled with thousands of javascript_* files

Added by Mittwald CM over 14 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-28
Due date:
% Done:

0%

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

Description

If you use "GMENU_LAYERS / TMENU_LAYERS" without a specific "layer_menu_id" then your typo3temp will be filled continously with javascript_* files.

TSref:
layer_menu_id
string
If you want to specifically name a menu on a page. Probably you don't need that!

This is wrong, you SHOULD set it to avoid this bug if it's not fixed.

The unique filename is created with a string md5(microtime()).
(Actually it's intended to be unique.)
md5(microtime()) can create millions of different filenames causing typo3temp to be filled more and more.

Problems with temporary files with unique filenames are also mentioned in Bug #21387 (http://bugs.typo3.org/view.php?id=12375).
This bug can also show DoS-like behaviour.

The applied patch is a dirty bugfix. It replaces microtime() with a string built around env var TYPO3_HOST_ONLY.

A better fix should use a system wide (system=TYPO3) class-function especially written for purposes like this.

(issue imported from #M12376)


Files


Related issues 9 (0 open9 closed)

Related to TYPO3 Core - Bug #22311: another Bug causing typo3temp to fill up with filesClosed2010-03-22

Actions
Related to TYPO3 Core - Bug #20329: cache_hash fills up with huge amounts of MENUDATAClosed2009-04-21

Actions
Related to TYPO3 Core - Bug #21387: typo3tempgot filled with thousands of EXTERNAL_URL* filesClosedDmitry Dulepov2009-10-28

Actions
Related to TYPO3 Core - Bug #23866: layered menus generate "too much recursion javascript-error"Rejected2010-10-28

Actions
Related to TYPO3 Core - Bug #23867: Menu_Layers is screened incorrectRejected2010-10-29

Actions
Related to TYPO3 Core - Bug #23957: nested XMENU_LAYERS and the typo3temp *.js caching bugRejected2010-11-05

Actions
Related to TYPO3 Core - Bug #24367: changes in tmenu_layers.php broke TMENURejected2010-12-19

Actions
Related to TYPO3 Core - Bug #28640: TMENU_LAYERS does not always create unique IDs for the third levelRejected2011-08-01

Actions
Related to TYPO3 Core - Task #46358: Separate ext:statictemplates code from coreClosed2013-03-16

Actions
Actions

Also available in: Atom PDF