ass hole >_<
This commit is contained in:
parent
d4f4aebce3
commit
d9695fab33
2
main.go
2
main.go
|
@ -182,7 +182,7 @@ func GetCommand(body, from, dir string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func Strip(s, s2 *string) {
|
func Strip(s, s2 *string) {
|
||||||
r, _ := regexp.Compile("(`|\\$|\"|')") //strip
|
r, _ := regexp.Compile("(`|\\$|\"|'|\\.\\.)") //strip
|
||||||
*s = r.ReplaceAllString(*s, "")
|
*s = r.ReplaceAllString(*s, "")
|
||||||
*s2 = r.ReplaceAllString(*s2, "")
|
*s2 = r.ReplaceAllString(*s2, "")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue