]> granicus.if.org Git - pdns/commitdiff
also answer questions with : in them - we promise to think harder on this shortly...
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 4 Feb 2013 14:35:34 +0000 (14:35 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 4 Feb 2013 14:35:34 +0000 (14:35 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3095 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/packethandler.cc

index b4479258eca984af94f2ee5b59613a77d74d4563..462f6893d2dd3213203cb969329eb2b32dae17dd 100644 (file)
@@ -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;