summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index c383c57..918b4f1 100644
--- a/parse.c
+++ b/parse.c
@@ -639,7 +639,8 @@ static char *strdup_escape_shell(const char *s)
char *r = g_malloc(r_s);
while (s[0]) {
if ((s[0] < '+') ||
- (s[0] > '9' && s[0] < '@') ||
+ (s[0] > ':' && s[0] < '=') ||
+ (s[0] > '=' && s[0] < '@') ||
(s[0] > 'Z' && s[0] < '^') ||
(s[0] == '`') ||
(s[0] > 'z')) {