Bug #45183 ยป 45183.diff
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;
|