cc-wrapper: expand-response-params: fix parsing of quotes that are quoted and escaped
This commit is contained in:
parent
2bc7b4e134
commit
aad0ebb194
@ -62,7 +62,7 @@ void expandArg(String *arg) {
|
|||||||
expandArg(arg);
|
expandArg(arg);
|
||||||
resize(arg, 0);
|
resize(arg, 0);
|
||||||
} else if (cur == unq_esc || cur == sq_esc || cur == dq_esc ||
|
} else if (cur == unq_esc || cur == sq_esc || cur == dq_esc ||
|
||||||
cur == outside ? next == unq : cur == next) {
|
(cur == outside ? next == unq : cur == next)) {
|
||||||
char s = c;
|
char s = c;
|
||||||
append(arg, &s, 1);
|
append(arg, &s, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user