[BUGFIX] Allow colon in TypoScript key 89/31389/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Sat, 28 Jun 2014 15:19:32 +0000 (17:19 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 6 Jul 2014 14:42:06 +0000 (16:42 +0200)
commit78af7508173c357bc3de947500abd4b52f7ac82e
tree7afa5e5aa54188b8b69a55c8e21cb2c37c730141
parentcf0542c19a1a2f1ce37c435ceee8dbc19379e8cd
[BUGFIX] Allow colon in TypoScript key

The TypoScript parser does not properly parse the := operator.
It searches for : only and hence wrongly breaks a TypoScript key apart.

Fix this by detecting the full operator sequence ":=", do not rely
on ":" only.

Resolves: #59965
Releases: 6.3, 6.2
Change-Id: I6401c87b45432d4d74c4092edeb333d4d9d5914e
Reviewed-on: https://review.typo3.org/31389
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php