[webconsole] urldecode domain for registration string generator

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-06-26 18:59:48 +03:00
parent d0c5732e16
commit da20cae25c
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -1281,7 +1281,7 @@ namespace http {
else if (cmd == HTTP_COMMAND_GET_REG_STRING)
{
std::string b32 = params["b32"];
std::string name = params["name"];
std::string name = i2p::http::UrlDecode(params["name"]);
i2p::data::IdentHash ident;
ident.FromBase32 (b32);