Merge branch 'thms0-stable-3.1' into stable-3.1
(cname with empty "sub-domain" check patch)
This commit is contained in:
commit
77a7849119
|
@ -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 !
|
// All is right, go ! Create ur domain !
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue