close #44 fixed f3 hive key for route caching

This commit is contained in:
Exodus4D
2015-10-08 20:38:10 +02:00
parent 8d315ad700
commit 35d99c581d
2 changed files with 3 additions and 3 deletions

View File

@@ -238,8 +238,8 @@ class Controller {
* @return mixed
*/
static function formatHiveKey($key){
$illegalCharacters = ['-'];
return str_replace($illegalCharacters, '', $key);
$illegalCharacters = ['-', ' '];
return strtolower( str_replace($illegalCharacters, '', $key) );
}
/**