nacos config
This commit is contained in:
@@ -57,7 +57,7 @@ func hasInvalidPatterns(key string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
var checkModuleRe = regexp.MustCompile("[^\\.a-zA-Z_-]")
|
||||
var checkModuleRe = regexp.MustCompile("[^\\.a-zA-Z_\\-0-9]")
|
||||
|
||||
// CheckModuleQuery 检查模块的json查询的格式
|
||||
func CheckModuleQuery(moduleQuery string) bool {
|
||||
|
||||
Reference in New Issue
Block a user