From be959b84966f49b4714db10f4a03544a1cd6c1cb Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 17 Feb 2020 20:47:08 +0800 Subject: [PATCH] Update scf.php --- function/scf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/scf.php b/function/scf.php index 07652a6..2a2ad6c 100644 --- a/function/scf.php +++ b/function/scf.php @@ -242,7 +242,7 @@ namespace:' . $_SERVER['namespace'] . '
return false; } //t.disktag_add.value=encodeURIComponent(t.disktag_add.value); - var reg = /^[a-zA-Z]([-_a-zA-Z0-9]{2,20})$/; + var reg = /^[a-zA-Z]([-_a-zA-Z0-9]{1,20})$/; if (!reg.test(t.disktag_add.value)) { alert(\'Tag Only letters and numbers, must start with letters!\'); return false;