Project

General

Profile

Bug #45183 ยป 45183.diff

Marc Bastian Heinrichs, 2013-02-06 10:07

View differences:

typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php
*/
protected function searchStringWildcard($haystack, $needle) {
$result = FALSE;
if ($needle) {
// fixed #45183
if ($haystack === $needle) {
$result = TRUE;
} elseif ($needle) {
if (preg_match('/^\\/.+\\/$/', $needle)) {
// Regular expression, only "//" is allowed as delimiter
$regex = $needle;
    (1-1/1)