Update heroku.php

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

View File

@ -214,7 +214,7 @@ function_name:' . $_SERVER['function_name'] . '<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;