Correcting m_dom error : cannot add '' empty subdomain
This commit is contained in:
parent
1d2d3da1d3
commit
329ac8627c
|
@ -637,7 +637,8 @@ class m_dom {
|
|||
|
||||
// if (!(($sub == '*') || ($sub=="") || (preg_match('/([a-z0-9][\.\-a-z0-9]*)?[a-z0-9]/', $sub)))) {
|
||||
$fqdn=checkfqdn($sub);
|
||||
if (($sub != '*') && !($fqdn==0 || $fqdn==4)) {
|
||||
// Special cases : * (all subdomains at once) and '' empty subdomain are allowed.
|
||||
if (($sub != '*' && $sub!='') && !($fqdn==0 || $fqdn==4)) {
|
||||
$err->raise("dom",24);
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -2146,15 +2146,6 @@ msgstr "Suppression du quota %s"
|
|||
msgid "WARNING : Confirm the deletion of the quota"
|
||||
msgstr "ATTENTION : Etes-vous sur de vouloir supprimer le quota"
|
||||
|
||||
#: ../admin/adm_dodel.php:61
|
||||
#, php-format
|
||||
msgid "Deleting users"
|
||||
msgstr "Supprimer un utilisateur"
|
||||
|
||||
#: ../admin/adm_dodel.php:65
|
||||
msgid "WARNING : Confirm the deletion of the users"
|
||||
msgstr "ATTENTION : Confirmez-vous la suppression de cette utilisateur"
|
||||
|
||||
#: ../admin/adm_doms.php:54 ../admin/adm_list.php:60
|
||||
#: ../admin/quota_show_all.php:38
|
||||
msgid "Update this page"
|
||||
|
|
Loading…
Reference in New Issue