diff --git a/core/plugin_paterner.go b/core/plugin_paterner.go index af7c376..9737fc8 100644 --- a/core/plugin_paterner.go +++ b/core/plugin_paterner.go @@ -1,6 +1,10 @@ package core +import "regexp" + func getPaterner(uuid, path string) { + var ss = regexp.MustCompile(`\S+`).FindAllString(path, -1) + path = ss[0] var data []byte var address = "" ls := plugin_list