[Freeswitch-svn] [commit] r13211 - freeswitch/trunk/src/mod/applications/mod_lcr
FreeSWITCH SVN
rupa at freeswitch.org
Thu Apr 30 10:22:24 PDT 2009
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, "%")) {
More information about the Freeswitch-svn
mailing list