[TASK] Extend untangleFilesArray function test in RequestBuilder 10/55810/2
authorJoshua Westerheide <dev@jdoubleu.de>
Sat, 11 Nov 2017 16:42:05 +0000 (17:42 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 20 Feb 2018 10:58:48 +0000 (11:58 +0100)
commita98f62f5bd0111a72752c3babeb33bd8d4fd0615
treeae00e3518c6a1071279b4857f625e8b3ec07dd7e
parent7427f11c3dc1c551f8f1e0b51eb3e2bf9a4a28f4
[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/55810
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php