Update normal.php

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

View File

@ -220,7 +220,7 @@ Can not write config to file.<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;