Fix server_port fields become 0 in SIP008 and ShadowsocksD subscriptions.
Fix parsed target not being passed to template argument.
This commit is contained in:
Tindy X committed 2021-03-25 11:00:26 +08:00
1 parent fe20b2d26c
commit 9b32b72f0e
3 files changed
+12 -10

No files matched your search

+2
View File
@@ -1393,6 +1393,8 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
continue;
req_arg_map[x.substr(0, pos)] = x.substr(pos + 1);
}
req_arg_map["target"] = argTarget;
req_arg_map["ver"] = std::to_string(intSurgeVer);
/// save template variables
template_args tpl_args;