From: Rupa Schomaker Date: Thu, 30 Apr 2009 17:22:24 +0000 (+0000) Subject: check for escape chars too X-Git-Tag: v1.0.4~988 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=652e4b7e318ae194785a3dad2837ee71ca1ae1e7;p=thirdparty%2Ffreeswitch.git check for escape chars too git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13211 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index a3d7f7f4ce..bb73f609ff 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -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, "%")) {