]> git.ipfire.org Git - thirdparty/pdns.git/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>
Mon, 22 Dec 2014 19:29:44 +0000 (20:29 +0100)
Debian backports versions use '~' in the version number.

pdns/secpoll-auth.cc

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