- handle special chars in store name.
This commit is contained in:
@@ -166,3 +166,7 @@ func FormalizePageSize(pageSize int) int {
|
||||
}
|
||||
return pageSize
|
||||
}
|
||||
|
||||
func FormalizeName(name string) string {
|
||||
return utils.TrimBlankChar(strings.Replace(strings.Replace(name, "\t", "", -1), "\"", "", -1))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user