mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
run expand_vars if input contains a special escaped character not just when it contains a variable to eat up back slashes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13015 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1916,7 +1916,7 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
|
||||
return (char *) in;
|
||||
}
|
||||
|
||||
nv = switch_string_var_check_const(in);
|
||||
nv = switch_string_var_check_const(in) || switch_string_has_escaped_data(in);
|
||||
|
||||
if (!nv) {
|
||||
return (char *) in;
|
||||
|
Reference in New Issue
Block a user