skip dialplan args with bad char sequences

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16882 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2010-03-03 18:31:19 +00:00
parent 4a9fc2c731
commit 9819eed509
6 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ static inline int switch_string_has_escaped_data(const char *in)
while (i && *i == '\\') {
i++;
if (*i == '\\' || *i == 'n' || *i == 's' || *i == 't') {
if (*i == '\\' || *i == 'n' || *i == 's' || *i == 't' || *i == '\'') {
return 1;
}
i = strchr(i, '\\');