[BUGFIX] AddQueryStringMethod overwrites parameters 11/25211/6
authorKlaas Johan Kooistra <k.kooistra@drecomm.nl>
Fri, 8 Nov 2013 12:41:14 +0000 (13:41 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 12 Jun 2014 10:42:50 +0000 (12:42 +0200)
commiteeaad6119e1b495edefafdb4c12bffd53815cc3c
tree014309b74f94e553dc0316bd8c6c34662ac1837a
parent600a3ed94d0e27d78b35ef91bd0cd14cf1d0a44e
[BUGFIX] AddQueryStringMethod overwrites parameters

Uri parameters are overwritten when using both POST and GET parameters
with the addQueryStringMethod functionality of uri generation.

The problem is solved by using the method
GeneralUtility::array_merge_recursive_overrule() instead of array_merge
when merging the POST and GET parameters.

Resolves: #53450
Releases: 6.2
Change-Id: I39926ebbaa08f6810e440bad1f238aeb2af17e5b
Reviewed-on: https://review.typo3.org/25211
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Tested-by: Wolfgang Wagner
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php
typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php