[BUGFIX] Allow comma in config.linkVars values 07/53507/2
authorSascha Egerer <sascha@sascha-egerer.de>
Fri, 14 Jul 2017 15:56:48 +0000 (17:56 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 15 Jul 2017 08:13:39 +0000 (10:13 +0200)
commit71c8c0d946fcef5a8906c499ec3e1b74656e92b7
tree2064bb8cb4dd8106221ab2d2d4c0dfe07ac65268
parenteddd848f1efadf79760d448515ca32b2d3af5acf
[BUGFIX] Allow comma in config.linkVars values

The config.linkVars TypoScript setting is splitted by comma.
This will fail if the optional value, wrapped by braces,
does contain a comma.
The string must only be splitted by commas that are not inside
of braces.

Resolves: #81810
Releases: master,8.7
Change-Id: If11615b0f4ed9ca55aea4ac3baf79284b35da398
Reviewed-on: https://review.typo3.org/53507
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php