From f5af059ef4ca6055e6a3063bd0691a528dc259e3 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Thu, 11 Mar 2021 15:20:40 +0300 Subject: [PATCH] [webconsole] add submission of address registration line to reg.i2p Signed-off-by: R4SAS --- daemon/HTTPServer.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 3f0fc6d8..f6a4b010 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -410,7 +410,7 @@ namespace http { static void ShowLeaseSetDestination (std::stringstream& s, std::shared_ptr dest, uint32_t token) { - s << "Base64:
\r\n
\r\n
\r\n"; if (dest->IsEncryptedLeaseSet ()) { @@ -1282,7 +1282,12 @@ namespace http { auto len = i2p::data::ByteStreamToBase64 (signature, signatureLen, sig, signatureLen*2); sig[len] = 0; out << "#!sig=" << sig; - s << "SUCCESS:
\r\n\r\n
\r\n
\r\n"; + s << "SUCCESS:
\r\n
\r\n" + "\r\n
\r\n
\r\n" + "Register at reg.i2p:\r\n
\r\n" + "Description:\r\n\r\n" + "\r\n" + "
\r\n
\r\n"; delete[] signature; delete[] sig; }