Skip to content

Commit ad4efb1

Browse files
author
Bohdan Korablov
committed
Merge remote-tracking branch 'tango_ce/MAGETWO-39126' into MAGETWO-39602
2 parents 0e98cbf + 0aa0803 commit ad4efb1

File tree

1 file changed

+1
-0
lines changed
  • lib/internal/Magento/Framework/Cache

1 file changed

+1
-0
lines changed

lib/internal/Magento/Framework/Cache/Core.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class Core extends \Zend_Cache_Core
2929
protected function _id($cacheId)
3030
{
3131
if ($cacheId !== null) {
32+
$cacheId = str_replace('.', '__', $cacheId); //reduce collision chances
3233
$cacheId = preg_replace('/([^a-zA-Z0-9_]{1,1})/', '_', $cacheId);
3334
if (isset($this->_options['cache_id_prefix'])) {
3435
$cacheId = $this->_options['cache_id_prefix'] . $cacheId;

0 commit comments

Comments
 (0)