[TYPO3-core] RFC: Bug #9408: Selecting by tag using wildcards does not work with database disposal of t3lib_cache

Ingo Renner ingo at typo3.org
Tue Sep 23 13:56:24 CEST 2008


Martin Kutschker wrote:

> Are % and _ valid characters for tags? If so you must escape them (see
> t3lib_db) before you can use them as values within a LIKE.

unfortunately they are:

	/*
  	 * Pattern an entry identifer must match.
	 */
	const PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%]{1,250}$/';

	/**
	 * Pattern a tag identifer must match.
	 */
	const PATTERN_TAG = '/^[a-zA-Z0-9_%]{1,250}$/';

Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list