Skip to content

Commit

Permalink
convert forbidden character in filename(Windows) with underline
Browse files Browse the repository at this point in the history
  • Loading branch information
zoghal committed Aug 24, 2013
1 parent e157d8a commit d606bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/FileEngine.php
Expand Up @@ -388,7 +388,7 @@ public function key($key) {
return false;
}

$key = Inflector::underscore(str_replace(array(DS, '/', '.','<','>','?',':','|','*','"'), '_', strval($key)));
$key = Inflector::underscore(str_replace(array(DS, '/', '.', '<', '>', '?', ':', '|', '*', '"'), '_', strval($key)));
return $key;
}

Expand Down

0 comments on commit d606bcb

Please sign in to comment.