Skip to content

Commit 7677218

Browse files
committed
Merge remote-tracking branch 'origin/candidate-10.0.x' into candidate-10.2.x
Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com> # Conflicts: # helm/hpcc/Chart.yaml # helm/hpcc/templates/_helpers.tpl # version.cmake
2 parents 0bb1adb + a4892ec commit 7677218

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ecl/eclcmd/eclcmd_core.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "jsecrets.hpp"
2222
#include "jargv.hpp"
2323
#include "jflz.hpp"
24+
#include "jstring.hpp"
2425
#include "httpclient.hpp"
2526

2627
#include "workunit.hpp"
@@ -2107,7 +2108,10 @@ class EclCmdZapGen : public EclCmdCommon
21072108
if (optIncThorSlave)
21082109
urlTail.append("&IncludeThorSlaveLog=on");
21092110
if (!optProblemDesc.isEmpty())
2110-
urlTail.append("&ProblemDescription=").append(optProblemDesc.get());
2111+
{
2112+
urlTail.append("&ProblemDescription=");
2113+
appendURL(&urlTail, optProblemDesc.get());
2114+
}
21112115
EclCmdURL eclCmdURL("WsWorkunits", !streq(optServer, ".") ? optServer : "localhost", optPort, optSSL, urlTail.str());
21122116

21132117
//Create CURL command
@@ -2121,7 +2125,7 @@ class EclCmdZapGen : public EclCmdCommon
21212125
if (optCreateDirs)
21222126
curlCommand.append(" --create-dirs");
21232127

2124-
curlCommand.appendf(" -o %s %s", outputFile.str(), eclCmdURL.str());
2128+
curlCommand.appendf(" -o \"%s\" \"%s\"", outputFile.str(), eclCmdURL.str());
21252129

21262130
Owned<IPipeProcess> pipe = createPipeProcess();
21272131
if (!pipe->run(optVerbose ? "EXEC" : NULL, curlCommand.str(), NULL, false, true, true))

0 commit comments

Comments
 (0)