Feature #28683

CachingFramework should accept cacheIdentifiers with special characters

Added by Bastian Waidelich almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Cache
Target version:
-
Start date:
2011-08-02
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Currently the CachingFramework throws an exception if the specified cacheIdentifier contains a backslash for example.
This leads to the fact that we are (sometimes faultily) escaping the identifier in various places.
Instead the CachingFramework should handle this in a central place.

#1

Updated by Robert Lemke over 8 years ago

  • Status changed from New to Closed
  • Has patch set to No

My suggestion: use md5() or an escaping function to sanitize the identifier (if possible). I'd rather not put it into the frontend itself because it adds unneccessary overhead for those cases where escaping is not needed.

Re-open if you don't agree.

Also available in: Atom PDF