[TYPO3-core] RFC: Quoting variable for regexp, typo3/mod/tools/em/index.php
ingmar at typo3.org
Tue Sep 13 10:29:46 CEST 2005
This is a CVS patch request.
In the EM code for checking the XCLASS inclusion code TYPO3 puts the
filename ($cmpF) into a regular expression without quoting it first.
That can cause error messages of the type "Unknown modifier 'r' in..."
Thus changing: $cmpF to preg_quote($cmpF,'/')
The second argument '/' is the delimiter used in the regexp, which
should be quoted as well.
- maybe later backport to TYPO3_3-8 (would need adjustment
because the delimiter is '§' in the 3.8 version)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the TYPO3-team-core