+ [bug#55522] Fix bug on craete repo.

This commit is contained in:
liyang
2024-09-23 15:03:35 +08:00
committed by 曹延义
parent 25b9e892ab
commit 21e33ecfe0
+1 -1
View File
@@ -76,7 +76,7 @@ class repoTao extends repoModel
*/
protected function checkName(object $repo)
{
$pattern = "/^[a-zA-Z0-9_\-\.]+$/";
$pattern = "/^[a-zA-Z_\-\.]+$/";
return preg_match($pattern, $repo->name);
}