[BUGFIX] Cannot upload an extension as zip 37/24037/3
authorXavier Perseguers <xavier@typo3.org>
Wed, 25 Sep 2013 07:41:58 +0000 (09:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 10 Oct 2013 16:02:13 +0000 (18:02 +0200)
commite1db658c3f6d332f4c1971f333b55c168aed43df
treef2a36f041b2cbd226f4ca0e8d1bf29f155ddf0ac
parentb5d5ff9e07218f9d7e4cbca9244fcb5669e0beca
[BUGFIX] Cannot upload an extension as zip

The file extension ".zip" should be systematically removed when
extracting the extension key from the uploaded file name.

Fixes: #52178
Releases: 6.2, 6.1, 6.0
Change-Id: I5316b995533fa324d3b19407ad9bb6365ab8858b
Reviewed-on: https://review.typo3.org/24037
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php
typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php