Skip to content
Permalink
Browse files

convert forbidden character in filename(Windows) with underline

  • Loading branch information...
zoghal committed Aug 24, 2013
1 parent e157d8a commit d606bcb7fd0afc69e35eea301573a0d530e7b211
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Cache/Engine/FileEngine.php
@@ -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;
}

0 comments on commit d606bcb

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.