mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-18 17:24:14 +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:
1 parent
48fcd82905
commit
652e4b7e31
1 file changed
+1
-1
@@ -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, "%")) {
|
||||
|
||||
Reference in new issue
Block a user