[FEATURE] Allow escaping of dots in TypoScript key 80/19480/24
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 24 Feb 2014 17:05:42 +0000 (18:05 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 13 Mar 2014 10:58:11 +0000 (11:58 +0100)
commit97bb0574d2484f63208be3dfdeaa78c2ac7e14d6
treeb1ddfb45e08440a86603717614a965e3535c4385
parent44100fa675c7735b43703cb59f637700a9ad1b46
[FEATURE] Allow escaping of dots in TypoScript key

This patch allows the use of backslashes to escape dots in
TypoScript keys, for example:

my\.escaped\.key = test

will result in a single key "my.escaped.key" with the
value "test".

Additionally it is possible to protect backslashes from beeing
interpreted as escape characters by using double backslashes.

Resolves: #29461
Documentation: #56249
Releases: 6.2
Change-Id: Idcaae75d9a8800134f4a82e0740ddabe35b3df89
Reviewed-on: https://review.typo3.org/19480
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php
typo3/sysext/extbase/Classes/Service/TypoScriptService.php
typo3/sysext/extbase/Tests/Unit/Service/TypoScriptServiceTest.php