From 652e4b7e318ae194785a3dad2837ee71ca1ae1e7 Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Thu, 30 Apr 2009 17:22:24 +0000 Subject: [PATCH] check for escape chars too git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13211 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_lcr/mod_lcr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "%")) {