protected function validateId($id) { return (bool) preg_match('/^[^\\/\\?\\*:;{}\\\\\\n]+$/us', $id); }