[TYPO3-core] em 6: new filename format for .zip extensions?
philipp.gampe at typo3.org
Fri May 17 21:28:10 CEST 2013
> as far as i remember an ext "name" is given by its folder name, and if i
> upload "extname_1.0.3 (1).zip" or "extname_1.0.3-dev-june2012.zip", they
> both should create/overwrite the folder "extname"
I agree that you should be able to upload files named
However you are wrong assuming that only the folder name matters, because
the (unbelievable ugly) archive format zip defines that if there is only one
folder, then the contents of that folder shall be extracted instead of the
Thus any directory disappears during unzipping which makes it impossible to
get the extension name from the extracted folder.
Therefor the file name is parsed to get the extension key. The parsing is
defined so that anything before a three numbered version separated by dots
or dashes forms the extension name.
Blame it on Microsoft who are not able to ship other archive
binaries/algorithms besides zip.
> right? it should be independent from the filename
I already pushed a change for this issue.
BTW, there is no reason to discuss every issue in the list before someone
can answer you on the issue.
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!
More information about the TYPO3-team-core