Be more strict about special characters in database names