diff --git a/src/campaign_server/campaign_server.cpp b/src/campaign_server/campaign_server.cpp index 2371af693f04..a7d1276c006a 100644 --- a/src/campaign_server/campaign_server.cpp +++ b/src/campaign_server/campaign_server.cpp @@ -805,7 +805,8 @@ void server::handle_upload(const server::request& req) LOG_CS << "Upload aborted - invalid file names in add-on data (" << badnames.size() << " entries).\n"; send_error( "Add-on rejected: The add-on contains files or directories with illegal names. " - "File or directory names may not contain whitespace, control characters or any of the following characters: '\" * / : < > ? \\ | ~'. " + // Note: the double double quote will be flattened to a single double quote. + "File or directory names may not contain whitespace, control characters or any of the following characters: '\"\" * / : < > ? \\ | ~'. " "It also may not contain '..' end with '.' or be longer than 255 characters.", filelist, req.sock); } else if(!check_case_insensitive_duplicates(data, &badnames)) {