[commit] r13211 - freeswitch/trunk/src/mod/applications/mod_lcr
Author: rupa Date: Thu Apr 30 12:22:24 2009 New Revision: 13211 Log: check for escape chars too Modified: freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c Modified: freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c (original) +++ freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c Thu Apr 30 12:22:24 2009 @@ -892,7 +892,7 @@ 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, "%")) {
participants (1)
-
FreeSWITCH SVN