summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2010-05-27 21:48:52 +0200
committerTollef Fog Heen <tfheen@err.no>2010-05-27 21:48:52 +0200
commit2ce485c65dd9d2bbd8e64dba275f449ff2303e72 (patch)
tree82b7ad71878612c73b40802402ed334f2038c9d5 /parse.c
parent376d42b004bcbc60aa13a88d15925f244a1990db (diff)
Allow : and = unescaped in output too
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')) {