Project

General

Profile

Actions

Bug #53342

closed

Epic #47018: Implement Composer support and clean package manager API

PackageManager::getCacheIdentifier() uses truncated md5

Added by Dmitry Dulepov over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2013-11-05
Due date:
% Done:

0%

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

Description

md5 is useful only as whole. Truncated md5 is much less unique then whole value. Bad code is near line 165:

                $this->cacheIdentifier = substr(md5_file($this->packageStatesPathAndFilename), 0, 13);
Actions

Also available in: Atom PDF