+2009-06-08 Steffen Kamper <info@sk-typo3.de>
+
+ * Fixed bug #10741: Create version of page crashes in Cache caused by "-" in const PATTERN_ENTRYIDENTIFIER
+
2009-06-07 Rupert Germann <rupi@gmx.li>
* Fixed bug #0011288: function tslib_fe->setPageCacheContent() removes page_cache entry twice
* Fixed bug #0011289: t3lib_cache_backend_FileBackend doesn't work properly with TYPO3 running in a subdirectory to the document root (thanks to Niels Pardon )
*/
class t3lib_cache_backend_FileBackend extends t3lib_cache_backend_AbstractBackend {
- const SEPARATOR = '-';
+ const SEPARATOR = '@';
const FILENAME_EXPIRYTIME_FORMAT = 'YmdHis';
const FILENAME_EXPIRYTIME_GLOB = '??????????????';
/**
* Pattern an entry identifer must match.
*/
- const PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%]{1,250}$/';
+ const PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%\-&]{1,250}$/';
/**
* Pattern a tag must match.
*/
- const PATTERN_TAG = '/^[a-zA-Z0-9_%]{1,250}$/';
+ const PATTERN_TAG = '/^[a-zA-Z0-9_%\-&]{1,250}$/';
/**
* Returns this cache's identifier