From b1c9c70e0dc5c1890bb31d8833a92d767ef2d402 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Korotenko" Date: Sat, 22 Nov 2025 13:39:26 +0300 Subject: [PATCH] =?UTF-8?q?Close=20#13=20=D0=BE=D1=87=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dm-cli/AccountUpdate.cpp | 4 ++-- dm-cli/deals_ru.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dm-cli/AccountUpdate.cpp b/dm-cli/AccountUpdate.cpp index 40b45d3..a28acf2 100644 --- a/dm-cli/AccountUpdate.cpp +++ b/dm-cli/AccountUpdate.cpp @@ -87,7 +87,7 @@ int AccountUpdate::ProcessUrl(std::string date, std::string signature, std::stri stream << "message: " << jsonData["result"]["message"] << endl; string decoded = stream.str(); cout << decoded << endl; - string payload = base64_decode(jsonData["payload"]); + string payload = cleanup_html(base64_decode(jsonData["payload"])); if (isDebug) ShowDebug(data, decoded, 1, payload); @@ -106,7 +106,7 @@ int AccountUpdate::ProcessPgp(std::string date, std::string signature, std::stri data = Replace(data, string("{{BT}}"), bt); data = Replace(data, string("{{DATE}}"), date); data = Replace(data, string("{{SIGN}}"), signature); - data = Replace(data, string("{{PGP}}"), pgpencoded); + data = Replace(data, string("{{PGP}}"), pgpencoded); string result = ExecCommand(data.c_str()); if (result.length() == 0) return NoResponse(""); diff --git a/dm-cli/deals_ru.txt b/dm-cli/deals_ru.txt index d75a3c6..20606b8 100644 --- a/dm-cli/deals_ru.txt +++ b/dm-cli/deals_ru.txt @@ -14,4 +14,5 @@ -l|--leave-before { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] } Время окончания сделки (длительность сделки), по умолчанию: 14d -p|--pay { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] } - Время для оплаты сделки; по умолчанию: 1d \ No newline at end of file + Время для оплаты сделки; по умолчанию: 1d + \ No newline at end of file