[BUGFIX] Allow comma in config.linkVars values 78/53478/4
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:20 +0000 (10:13 +0200)
commit3f410c2c0eb13a27cb5006b699fd1558a86f3bf9
treeab45e4ed07865473daa10f5eea996a096589720b
parent755e0ed02610bf14a16ecae9b12770e5412d76f4
[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/53478
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Wolfgang Klinger <wolfgang@wazum.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
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