private function sanitiseKey($key) { return str_replace(array('/', '\\', '?', '%', '*', ':', '|', '"', '<', '>'), '.', $key); }