]> granicus.if.org Git - pdns/commitdiff
remove "" around secpoll result. Fixes #5692
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 19 Sep 2017 10:19:37 +0000 (12:19 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 19 Sep 2017 10:19:48 +0000 (12:19 +0200)
pdns/secpoll-auth.cc

index 89eebdc34d4889548c77180974cc3d2e7862969d..646b296541ed0015d3e358dd6bc20300f01f0948 100644 (file)
@@ -54,7 +54,7 @@ void doSecPoll(bool first)
   if(!res && !ret.empty()) {
     string content=getRR<TXTRecordContent>(ret.begin()->dr)->d_text;
 
-    pair<string, string> split = splitField(content, ' ');
+    pair<string, string> split = splitField(unquotify(content), ' ');
 
     security_status = std::stoi(split.first);
     g_security_message = split.second;