Feature #28683
CachingFramework should accept cacheIdentifiers with special characters
Status: | Closed | Start date: | 2011-08-02 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Cache | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No |
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.
History
#1 Updated by Robert Lemke over 2 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.