From 5341b0fe0f3cece221e852c11986d829f035cbe2 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Thu, 5 Nov 2015 12:14:25 +0200 Subject: [PATCH] Use DNSName with trailing dot --- modules/remotebackend/remotebackend.cc | 4 ++-- modules/remotebackend/remotebackend.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/remotebackend/remotebackend.cc b/modules/remotebackend/remotebackend.cc index 784af21ba..35335d8c3 100644 --- a/modules/remotebackend/remotebackend.cc +++ b/modules/remotebackend/remotebackend.cc @@ -816,7 +816,7 @@ bool RemoteBackend::feedEnts(int domain_id, map& nonterm) { JSON_ADD_MEMBER(parameters, "trxid", d_trxid, query.GetAllocator()); nts.SetArray(); for(auto t: nonterm) { - rapidjson::Value value(t.first.toStringNoDot().c_str(), query.GetAllocator()); + rapidjson::Value value(t.first.toString().c_str(), query.GetAllocator()); nts.PushBack(value, query.GetAllocator()); } parameters.AddMember("nonterm", nts, query.GetAllocator()); @@ -843,7 +843,7 @@ bool RemoteBackend::feedEnts3(int domain_id, const DNSName& domain, map