mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
hush: add <> and () as "safe" arith chars
This commit is contained in:
parent
bfbc971f9f
commit
d0b4a8c285
@ -1791,7 +1791,7 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask)
|
||||
}
|
||||
if (isdigit(c))
|
||||
continue;
|
||||
if (strchr(" \t+-*/%_", c) != NULL)
|
||||
if (strchr(" \t+-*/%<>()_", c) != NULL)
|
||||
continue;
|
||||
c |= 0x20; /* tolower */
|
||||
if (c >= 'a' && c <= 'z')
|
||||
|
Loading…
Reference in New Issue
Block a user