From: Cheng-Ling Lai Date: Wed, 5 Aug 2026 06:19:39 +0000 (+0800) Subject: Join XML contents with newline to prevent corruption X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf07964d5ce2a1eb27ebfa889c960e049c4674c0;p=thirdparty%2Fsnapper.git Join XML contents with newline to prevent corruption --- diff --git a/client/snbk/CmdMetaParse.cc b/client/snbk/CmdMetaParse.cc index f62b333b..8b8fcb4a 100644 --- a/client/snbk/CmdMetaParse.cc +++ b/client/snbk/CmdMetaParse.cc @@ -61,7 +61,7 @@ namespace snapper SN_THROW(Exception(_("Failed to load info.xml."))); } - content = boost::join(cmd.get_stdout(), ""); + content = boost::join(cmd.get_stdout(), "\n"); y2mil(*this); }