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
wxArrayString output, errors;
int rc = wxExecute(wxString::Format
(
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(),
m_curlCmd.c_str(),
m_inputField.c_str(),
GetCompressedFileName().c_str(),