Bug #48188

VariableFrontend cache does not support identifiers containing dots

Added by Daniel Schöne over 6 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
Start date:
2013-05-14
Due date:
% Done:

0%

TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

... this causes extbase to crash when using external DB tables (e.g "database.table" notation) as the persistence layer (Typo3DbBackend) is using the VariableFrontend for its tableColumnCache.

Is it OK to change

    const PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%\\-&]{1,250}$/';

to

    const PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%\\-&\.]{1,250}$/';

in TYPO3\CMS\Core\Cache\Frontend\FrontendInterface ?

History

#1 Updated by Philipp Gampe over 6 years ago

  • Category set to Caching
  • Status changed from New to Needs Feedback

I do not think that this works out of the box. E.g. a single dot will not work for file backend. Also the DB backend might have problems with dots.

#2 Updated by Philipp Gampe over 6 years ago

IMHO this needs to be fixed on the extbase side. Extbase should replace the dot by any other allowed char.

#3 Updated by Alexander Opitz about 6 years ago

  • Status changed from Needs Feedback to New
  • Is Regression set to No

#4 Updated by Mathias Schreiber almost 5 years ago

  • Target version set to 8 LTS

#5 Updated by Christian Kuhn over 2 years ago

  • Status changed from New to Rejected

please simply hash your identifier or similar. dots are for instance an issue with file based backends.

Also available in: Atom PDF