[TYPO3-core] RFC #8566: Unable to match TS condition when variable is not set

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jul 16 11:08:30 CEST 2008


Hi!

Dmitry Dulepov [typo3] wrote:
> Branches: 4.1, 4.2, trunk
> 
> Problem: The following perfectly valid condition does not match if 
> "param" is not found in URL or if it is set to empty value in the URL:
> 
> [globalVar = GP:param = /^$/]
> 
> The problem is that t3lib_matchcondition::matchWild() requires non-empty 
> string to test. No idea why but it does not make sense to have this 
> restriction.
> 
> Solution: remove check for non-empty value in the 
> t3lib_matchcondition::matchWild().

Version 2 is committed to trunk, 4.2 and 4.1.

-- 
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
Latest article: http://typo3bloke.net/post-details/how_to_fill_realurl_cache/


More information about the TYPO3-team-core mailing list