Permalink
Browse files

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
  • Loading branch information...
1 parent ed03a37 commit da8e6ae129ac72bc2bd340bf2b8b91614f4d87f0 @ahupowerdns ahupowerdns committed Feb 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit da8e6ae

Please sign in to comment.