diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | plugins/webbox/webbox.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 03ddeb2..954078d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +webserver (1.11) unstable; urgency=medium + + * Bugfix: ZIP download in webbox was broken + + -- Roland Reichwein <rr@antcom.de> Fri, 26 Jun 2020 11:15:36 +0200 + webserver (1.10) unstable; urgency=medium * More runtime error checking diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp index 37ddde2..d19f428 100644 --- a/plugins/webbox/webbox.cpp +++ b/plugins/webbox/webbox.cpp @@ -513,7 +513,7 @@ protected: Tempfile tempfile; // guards this path, removing file afterwards via RAII - arglist = "/usr/bin/zip -r "s + tempfile.GetPath().string() + " "s + arglist; + arglist = "/usr/bin/zip -r - "s + arglist + " > "s + tempfile.GetPath().string(); int system_result {system(arglist.c_str())}; if (system_result != 0) { |