From da8e6ae129ac72bc2bd340bf2b8b91614f4d87f0 Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Mon, 4 Feb 2013 14:35:34 +0000 Subject: [PATCH] also answer questions with : in them - we promise to think harder on this shortly. really. http://geekandpoke.typepad.com/geekandpoke/2010/02/later-but-then-immediately.html git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3095 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/packethandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index b4479258e..462f6893d 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -798,7 +798,7 @@ bool validDNSName(const string &name) if(!((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || - c =='-' || c == '_' || c=='*' || c=='.' || c=='/' || c=='@' || c==' ' || c=='\\')) + c =='-' || c == '_' || c=='*' || c=='.' || c=='/' || c=='@' || c==' ' || c=='\\' || c==':')) return false; } return true; -- 2.40.0