[TYPO3-core] FYI36: #14388: Templates with $ in content become corrupted

Tobias Liebig mail_typo3 at etobi.de
Tue May 25 22:09:31 CEST 2010


This is an SVN patch request.

Type:
Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=14388

Branches:
trunk, TYPO3_4-2, TYPO3_4-3


Problem:
If a TypoScript template contains $, the TypoScript code becomes corrupt 
after saving. Every $ will substituted with the whole TypoScript code.


Solution:
fix the replacement value in the preg_replace to not duplicate the 
typoscript code.


Note:
i'm going to commit on thursday morning (CET), if no one complains


regards
   tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14388_TYPO3_4-3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100525/ca9b30c8/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14388_TYPO3_4-2.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100525/ca9b30c8/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14388.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100525/ca9b30c8/attachment-0001.txt>


More information about the TYPO3-team-core mailing list