Security update for Core, with self-updated composer
[yaffs-website] / vendor / drush / drush / lib / Drush / Cache / FileCache.php
index faacb79a8fafaa9eb87c7e93874dbb2a7c8b6e19..1942bd91140989ca9e50a0f1c4c525ed9099441b 100644 (file)
@@ -151,6 +151,6 @@ class FileCache implements CacheInterface {
    *   The full path to the cache file.
    */
   protected function getFilePath($cid) {
-    return $this->directory . '/' . str_replace(array(':'), '.', $cid) . self::EXTENSION;
+    return $this->directory . '/' . str_replace(array(':', '\\', '/'), '.', $cid) . self::EXTENSION;
   }
 }