]> granicus.if.org Git - pdns/commitdiff
secpoll: Replace ~ with _, too
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 24 Nov 2014 13:40:31 +0000 (14:40 +0100)
committermind04 <mind04@monshouwer.org>
Fri, 1 May 2015 05:52:16 +0000 (07:52 +0200)
Debian backports versions use '~' in the version number.

pdns/secpoll-auth.cc

index f762218e4df1f840d2700a03e0d61df9900ad35f..02f8b7ea8651d0d00edc7ab27bd277d9f6457fc6 100644 (file)
@@ -131,6 +131,7 @@ void doSecPoll(bool first)
     query+='.';
 
   boost::replace_all(query, "+", "_");
+  boost::replace_all(query, "~", "_");
 
   vector<DNSResourceRecord> ret;