소스 검색

new check_configure_kerio_buisness_mail.tpl

andre 7 달 전
부모
커밋
d2a5568a53
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      check_configure_kerio_buisness_mail.tpl

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

@@ -5,7 +5,7 @@
 
 <script>
 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);
 }
     function checkInput (domain, pid) {