提交 652e4b7e authored 作者: Rupa Schomaker's avatar Rupa Schomaker

check for escape chars too


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13211 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 48fcd829
......@@ -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, "%")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论