[BUGFIX] Web Request should map $_FILES into arguments
authorKevin Ulrich Moschallski <km@3digit.de>
Mon, 5 Mar 2012 10:31:43 +0000 (11:31 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 15 Aug 2012 21:41:34 +0000 (23:41 +0200)
commit170a279c2f2c630ae1fd531e6a07fb9f419dc78e
treedf52f1b614cf003854da68e9247a8bad5308850f
parent899c5d7cd523f12410f9056758b8e95e8b6bb93d
[BUGFIX] Web Request should map $_FILES into arguments

Adds content of $_FILES to the request parameters.
Use FLOW3 untangleFilesArray method to set the array, as suggested
by Bastian Waidelich.

Note that file properties must be arrays not strings.

Thanks to Kevin Ulrich Moschallski for the patch.
Thanks to Tymoteusz Motylewski for the unittest.

Change-Id: Ib851c6412afc0291520e61613ad439e34e0603bd
Fixes: #34528
Releases: 6.0
Reviewed-on: http://review.typo3.org/9379
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/extbase/Classes/MVC/Web/RequestBuilder.php
typo3/sysext/extbase/Tests/Unit/MVC/Web/RequestBuilderTest.php