X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cbe2aead90b12bffaa0d0d621068ad639eadf1f..e015e7f3acef09b57bcd34e8f6780a19afdfd97b:/src/common/debugrpt.cpp diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 717f7d1b13..e9d477c1fa 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -34,6 +34,7 @@ #include "wx/debugrpt.h" +#include "wx/ffile.h" #include "wx/filename.h" #include "wx/dir.h" #include "wx/dynlib.h" @@ -652,7 +653,7 @@ bool wxDebugReportUpload::DoProcess() wxArrayString output, errors; int rc = wxExecute(wxString::Format ( - _T("%s -F %s=@%s %s"), + _T("%s -F %s=@\"%s\" %s"), m_curlCmd.c_str(), m_inputField.c_str(), GetCompressedFileName().c_str(),