]> git.saurik.com Git - wxWidgets.git/commitdiff
APplied patch [ 1182682 ] Fixes wxDebugReportUpload fail when app name contains spaces
authorJulian Smart <julian@anthemion.co.uk>
Sat, 16 Apr 2005 10:16:49 +0000 (10:16 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 16 Apr 2005 10:16:49 +0000 (10:16 +0000)
by eco

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/debugrpt.cpp

index 717f7d1b13522eae358101259dff5357bef2988a..9e8ed6aff413c8c27575e26d097ad39f79614aec 100644 (file)
@@ -652,7 +652,7 @@ bool wxDebugReportUpload::DoProcess()
     wxArrayString output, errors;
     int rc = wxExecute(wxString::Format
                        (
     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(),
                             m_curlCmd.c_str(),
                             m_inputField.c_str(),
                             GetCompressedFileName().c_str(),