[TASK] Fluid (Core): Regular Expression performance improvements
authorSebastian Kurfürst <sebastian@typo3.org>
Thu, 26 Aug 2010 08:13:15 +0000 (08:13 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Thu, 26 Aug 2010 08:13:15 +0000 (08:13 +0000)
commit1fbaa5efc3702543e4a6790c1c8dcb7bd384246e
treea964b5c205d35243b391a3273dcf66ec150ad675
parentcf264e48d3ca04f208c75748a30cffffb2d43a7e
[TASK] Fluid (Core): Regular Expression performance improvements

In rare cases, on some systems (like mine), the
PCRE parser reproducably crashes if one passes very
long argument strings into it, or very complex ones.

With this patch, the parser is slightly modified
to decrease the use of backtracking; which then avoids
the crashes mostly.
typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php