improved detokenizer_shell module: Added default token as "x"
This commit is contained in:
parent
50fd9b03aa
commit
0f38817669
|
@ -45,8 +45,8 @@ static Octstr *mms_detokenize(Octstr *token, Octstr *request_ip)
|
|||
if (script == NULL || octstr_len(script) == 0)
|
||||
return NULL;
|
||||
|
||||
tmp1 = octstr_duplicate(token ? token : octstr_imm(""));
|
||||
tmp2 = octstr_duplicate(request_ip ? request_ip : octstr_imm(""));
|
||||
tmp1 = octstr_duplicate(token ? token : octstr_imm("x"));
|
||||
tmp2 = octstr_duplicate(request_ip ? request_ip : octstr_imm("x"));
|
||||
|
||||
escape_shell_chars(tmp1);
|
||||
escape_shell_chars(tmp2);
|
||||
|
|
Loading…
Reference in New Issue