Browse Source

Merge pull request #11610 from cakephp/issue-11581

Forward port #11581 to 3.x
Mark Story 8 years ago
parent
commit
e3c3594e24
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Cache/CacheEngine.php

+ 1 - 1
src/Cache/CacheEngine.php

@@ -252,7 +252,7 @@ abstract class CacheEngine
 
         $prefix = '';
         if ($this->_groupPrefix) {
-            $prefix = vsprintf($this->_groupPrefix, $this->groups());
+            $prefix = md5(implode('_', $this->groups()));
         }
 
         $key = preg_replace('/[\s]+/', '_', strtolower(trim(str_replace([DIRECTORY_SEPARATOR, '/', '.'], '_', (string)$key))));