Update scf.php

pull/15/head
qkqpttgf 2020-02-17 20:47:08 +08:00 committed by GitHub
parent 2a5b7cfaf9
commit be959b8496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ namespace:' . $_SERVER['namespace'] . '<br>
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;