diff --git a/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php b/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php index 982921d..388a87b 100644 --- a/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php +++ b/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php @@ -522,7 +523,10 @@ abstract class AbstractConditionMatcher { */ 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;