Quote wxExecute() arguments in wxDebugReportUpload when using curl.
Quote the argument to curl as it might contain spaces. Closes #14677. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -687,7 +687,7 @@ bool wxDebugReportUpload::DoProcess()
|
||||
wxArrayString output, errors;
|
||||
int rc = wxExecute(wxString::Format
|
||||
(
|
||||
wxT("%s -F %s=@\"%s\" %s"),
|
||||
wxT("%s -F \"%s=@%s\" %s"),
|
||||
m_curlCmd.c_str(),
|
||||
m_inputField.c_str(),
|
||||
GetCompressedFileName().c_str(),
|
||||
|
Reference in New Issue
Block a user