mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
check for escape chars too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
48fcd82905
commit
652e4b7e31
@ -892,7 +892,7 @@ static switch_status_t lcr_load_config()
|
||||
custom_sql = sql_stream.data;
|
||||
}
|
||||
|
||||
if (switch_string_var_check_const(custom_sql)) {
|
||||
if (switch_string_var_check_const(custom_sql) || switch_string_has_escaped_data(custom_sql)) {
|
||||
profile->custom_sql_has_vars = SWITCH_TRUE;
|
||||
}
|
||||
if (strstr(custom_sql, "%")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user