Project

General

Profile

Actions

Bug #23693

closed

[Caching framework] Entry identifier needs to be sanitized in FileBackend

Added by Christian Kuhn about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
-
Start date:
2010-10-08
Due date:
% Done:

0%

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

Description

The following patch will be committed in 72 hours if nobody objects.

Type: Bugfix / Patch backport

BT:

Branches: trunk, 4.4

Problem:
Currently the entry identifier is not checked at all in FileBackend.

Solution:
Throw exceptions if identifier contains path segments.

Notes:
- This is the v4 backport of [1], which was committed to FLOW3 in rev. 4998 / git 12e086800f37429cf85fdc694e07b49054c16cbc
- This is not a problem with current core usage as all identifiers are hashes.

[1] http://forge.typo3.org/issues/9357

(issue imported from #M15936)


Files

15936_01.diff (6.53 KB) 15936_01.diff Administrator Admin, 2010-10-08 15:34
Actions

Also available in: Atom PDF