mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
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:
@@ -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, '\\');
|
||||
|
||||
Reference in New Issue
Block a user