Merge branch 'stable-3.1' of https://github.com/thms0/AlternC into thms0-stable-3.1

This commit is contained in:
Dominique Rousseau 2016-12-08 18:39:11 +01:00
commit d07d5ae8ad
1 changed files with 4 additions and 0 deletions

View File

@ -1353,6 +1353,10 @@ class m_dom {
}
}
// Forbidden to create a CNAME RR on the domain APEX (RFC 1912)
if ($type == 'cname' && $sub == '')
return false;
// All is right, go ! Create ur domain !
return true;
}