[TASK] Extend untangleFilesArray function test in RequestBuilder 19/54619/5
authorJoshua Westerheide <dev@jdoubleu.de>
Sat, 11 Nov 2017 16:42:05 +0000 (17:42 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 15 Nov 2017 07:22:26 +0000 (08:22 +0100)
commite1cf064eba22c810ed8e04f681d99b7e6b330d65
treebbecc2660c94469322728e450ae9c8f3ac5848bc
parent4770e0b787682dd5d3f18326834604dad370604b
[TASK] Extend untangleFilesArray function test in RequestBuilder

Check for cases where the files array is nested more complex or
keywords (e.g. "error") are used as field names.

Run `curl -F "d0[]=@d12.txt" -F "d0[d1][d2][d3]=@d12.txt"
-F "error=@error_file.txt" localhost:8080` against a custom
php script to generate the testing $_FILES array.

Resolves: #82976
Releases: master, 8.7, 7.6
Change-Id: I51fb9da7c87871b6bb1e8ac4de317973f307dd49
Reviewed-on: https://review.typo3.org/54619
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php