[BUGFIX] Wrong result on empty string globalString condition 79/21979/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Fri, 5 Jul 2013 21:45:30 +0000 (23:45 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 1 Feb 2014 22:29:29 +0000 (23:29 +0100)
commit06bf27df49a2ae3b1de49e64169139ac5c449681
tree698a978c2799ae4e08784073bf5832a93bfb05d3
parent31561a07788b37d638be254d69708c0da6bc6fc0
[BUGFIX] Wrong result on empty string globalString condition

A TypoScript condition like
"[globalString = GP:anEmptyGetPostVarKey = ]" returns a false
value instead of the expected true value.

Fixes: #45183
Releases: 4.5,6.0, 6.1, 6.2
Change-Id: I114b702f4b5ae5f68236874325e82974a8ba6107
Reviewed-on: https://review.typo3.org/21979
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php