We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2c54d commit 0aa0803Copy full SHA for 0aa0803
lib/internal/Magento/Framework/Cache/Core.php
@@ -29,8 +29,7 @@ class Core extends \Zend_Cache_Core
29
protected function _id($cacheId)
30
{
31
if ($cacheId !== null) {
32
- $cacheId = str_replace('-', '__', $cacheId);
33
- $cacheId = str_replace('.', '___', $cacheId);
+ $cacheId = str_replace('.', '__', $cacheId); //reduce collision chances
34
$cacheId = preg_replace('/([^a-zA-Z0-9_]{1,1})/', '_', $cacheId);
35
if (isset($this->_options['cache_id_prefix'])) {
36
$cacheId = $this->_options['cache_id_prefix'] . $cacheId;
0 commit comments