From e9dc1c98e552bd62f7a2c6767784a5ea0fbc01a6 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 17 Feb 2020 20:48:07 +0800 Subject: [PATCH] Update normal.php --- function/normal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/normal.php b/function/normal.php index f4b9661..af479e5 100644 --- a/function/normal.php +++ b/function/normal.php @@ -220,7 +220,7 @@ Can not write config to file.
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;