Issue Bug Closed

#59548TypoScript parser implementation doubles backslashes

Norbert Sendetzky 06/13/14, 14:38 updated 10/02/18, 11:53

Description

I’ve found a potential bug in the parse() method of the TS parser:

$parser = t3lib_div::makeInstance( ‘t3lib_tsparser’ );
$parser->parse( $tsString );

If the TypoScript configuration contains a backslash in one of the values, it’s duplicated in the result. As this modifies the content of the value, it leads to problems where the original value is required for lookups.

This happened in TYPO3 6.2.1 but is maybe a problem that also exists in 6.1, 6.0 and earlier.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.