From: Bert Hubert Date: Mon, 4 Feb 2013 14:35:34 +0000 (+0000) Subject: also answer questions with : in them - we promise to think harder on this shortly... X-Git-Tag: rec-3.5-rc3~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da8e6ae129ac72bc2bd340bf2b8b91614f4d87f0;p=thirdparty%2Fpdns.git 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 --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index b4479258ec..462f6893d2 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;