[BUGFIX] substituteMarkerArrayCached() must accept special chars 19/45319/6
authorMarkus Klein <markus.klein@typo3.org>
Wed, 16 Dec 2015 18:04:07 +0000 (19:04 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 17 Dec 2015 14:28:27 +0000 (15:28 +0100)
commit9874706d4be237f6047c4eff6071523a389c50fc
tree8ed6f1f6e37b468a51b1dad9dd6021631e693950
parent0d99ed068d613ed4f818eaa2102ad4dccc96e3bc
[BUGFIX] substituteMarkerArrayCached() must accept special chars

Add a bunch of unittests and streamline the code as well
by removing a useless preg_match_all() call.
Rename some variables and add comments.

Resolves: #72252
Releases: master, 6.2
Change-Id: I2a31a1c2ab6d83528428693213b922f0e1bc6fe5
Reviewed-on: https://review.typo3.org/45319
Reviewed-by: Tobias Klepp <tobias.klepp@stimme-der-hoffnung.de>
Tested-by: Tobias Klepp <tobias.klepp@stimme-der-hoffnung.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/PageRepositoryFixture.php [new file with mode: 0644]