We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8452ea commit a7aebadCopy full SHA for a7aebad
devices/android.go
@@ -629,7 +629,7 @@ func isAscii(text string) bool {
629
func escapeShellText(text string) string {
630
// escape all shell special characters that could be used for injection
631
specialChars := `\'"`+ "`" + `
632
-|&;()<>{}[]$*?`
+|&;()<>{}[]$*? `
633
result := ""
634
for _, char := range text {
635
if strings.ContainsRune(specialChars, char) {
0 commit comments