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:
Vadim Zeitlin
2012-09-20 15:46:18 +00:00
parent bab5e0d028
commit 4f4c48a89f

View File

@@ -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(),