Kaynağa Gözat

new check_configure_kerio_buisness_mail.tpl

andre 6 ay önce
ebeveyn
işleme
9795046469
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      check_configure_kerio_buisness_mail.tpl

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

@@ -5,7 +5,7 @@
 
 
 <script>
 <script>
 function is_domain(str) {
 function is_domain(str) {
-  const regexp = /^(?=[a-z0-9-]{1\,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.[a-z]{2\,63}$/;
+  const regexp = /^(?=[a-z0-9-]\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.[a-z]$/;
   return regexp.test(str);
   return regexp.test(str);
 }
 }
     function checkInput (domain, pid) {
     function checkInput (domain, pid) {